Skip to content

Commit 30c3214

Browse files
committed
👮 rubocop --autocorrect --only Style/YAMLFileRead
1 parent cc6cce9 commit 30c3214

File tree

1 file changed

+1
-1
lines changed
  • _tools/ruby_h_to_go/lib/ruby_h_to_go

1 file changed

+1
-1
lines changed

_tools/ruby_h_to_go/lib/ruby_h_to_go/config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module RubyHToGo
44
class Config
55
def initialize
6-
@config = YAML.load(File.read(File.expand_path("../../config.yml", __dir__)))
6+
@config = YAML.load_file(File.expand_path("../../config.yml", __dir__))
77
end
88

99
# @return [String]

0 commit comments

Comments
 (0)