Skip to content

Commit

Permalink
Merge pull request #1306 from Homebrew/brew-uninstall-ignore-dependen…
Browse files Browse the repository at this point in the history
…cies

tests/formulae: add missing `--ignore-dependencies` option
  • Loading branch information
ZhongRuoyu authored Nov 18, 2024
2 parents 876d599 + 5ccecbc commit c8716a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tests/formulae.rb
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def bottle_reinstall_formula(formula, new_formula, args:)
@testing_formulae.delete(formula.name)

unless @unchanged_build_dependencies.empty?
test "brew", "uninstall", "--formulae", "--force", *@unchanged_build_dependencies
test "brew", "uninstall", "--formulae", "--force", "--ignore-dependencies", *@unchanged_build_dependencies
@unchanged_dependencies -= @unchanged_build_dependencies
end

Expand Down

0 comments on commit c8716a2

Please sign in to comment.