Skip to content

Commit 68ad84d

Browse files
author
Derek Hower
committed
bug fix
1 parent b41b394 commit 68ad84d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/arch_gen/lib/arch_gen.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def params_extra_validation
146146
@implemented_extensions.each do |ext|
147147
ext_name = ext["name"]
148148
gen_ext_path = @gen_dir / "arch" / "ext" / "#{ext_name}.yaml"
149-
ext_yaml = YAML.load_file gen_ext_path.read
149+
ext_yaml = YAML.load_file gen_ext_path.to_s
150150
unless ext_yaml[ext_name]["params"].nil?
151151
ext_yaml[ext_name]["params"].each do |param_name, param_data|
152152
next unless param_data.key?("extra_validation")

0 commit comments

Comments
 (0)