Skip to content

Commit 464a4cf

Browse files
committed
fix: github autofix was only partial
1 parent 21d2af6 commit 464a4cf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tools/gems/udb/lib/udb/resolver.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,13 @@ def resolve_arch(
183183
deps = Dir[gen_path / "arch" / config_yaml["name"] / "**" / "*.yaml"].map { |p| Pathname.new(p) }
184184
if any_newer?(gen_path / "resolved_arch" / config_yaml["name"] / ".stamp", deps)
185185
udb_gem_path = Bundler.definition.specs.find { |s| s.name == "udb" }.full_gem_path
186-
run "#{python_path} #{udb_gem_path}/python/yaml_resolver.py resolve #{gen_path}/arch/#{config_name} #{gen_path}/resolved_arch/#{config_name}"
186+
run [
187+
python_path.to_s,
188+
"#{udb_gem_path}/python/yaml_resolver.py",
189+
"resolve",
190+
"#{gen_path}/arch/#{config_name}",
191+
"#{gen_path}/resolved_arch/#{config_name}"
192+
]
187193
FileUtils.touch(gen_path / "resolved_arch" / config_yaml["name"] / ".stamp")
188194
end
189195
end

0 commit comments

Comments
 (0)