Skip to content

Commit

Permalink
Fix wrong variable in override logic (GoogleCloudPlatform#10125)
Browse files Browse the repository at this point in the history
  • Loading branch information
c2thorn authored and BBBmau committed Mar 6, 2024
1 parent fbb19dc commit 915c229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmv1/compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
Dir["#{ovr_prod_dir}/*"].each do |override_path|
next if File.basename(override_path) == 'product.yaml' \
|| File.extname(override_path) != '.yaml' \
|| File.basename(file_path).include?('go_')
|| File.basename(override_path).include?('go_')

file_path = File.join(product_name, File.basename(override_path))
res_yaml = if File.exist?(file_path)
Expand Down

0 comments on commit 915c229

Please sign in to comment.