Skip to content

Commit

Permalink
Retain the mis-ordered dependency case.
Browse files Browse the repository at this point in the history
Co-authored-by: Carlo Cabrera <github@carlo.cab>
  • Loading branch information
issyl0 and carlocab authored Feb 11, 2025
1 parent d9b376a commit 9359292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/rubocops/lines.rb
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ def audit_formula(formula_nodes)
end
end

[:build, [:build, :test]].each do |type|
[:build, [:build, :test], [:test, :build]].each do |type|
find_method_with_args(body_node, :depends_on, "rustup" => type) do
problem "Formulae in homebrew/core should use 'depends_on \"rust\" => #{type}' " \
"instead of '#{@offensive_node.source}'." do |corrector|
Expand Down

0 comments on commit 9359292

Please sign in to comment.