dev-cmd/audit: make git audit only --new-formula only.
Useful in e.g. https://github.com/Homebrew/homebrew-core/pull/46550 to avoid repeatedly triggering a failing audit.
This commit is contained in:
parent
6ca77af632
commit
4efc1276b3
@ -407,7 +407,7 @@ module Homebrew
|
||||
problem "Dependency #{dep} does not define option #{opt.name.inspect}"
|
||||
end
|
||||
|
||||
problem "Don't use git as a dependency (it's always available)" if dep.name == "git"
|
||||
problem "Don't use git as a dependency (it's always available)" if @new_formula && dep.name == "git"
|
||||
|
||||
problem "Dependency '#{dep.name}' is marked as :run. Remove :run; it is a no-op." if dep.tags.include?(:run)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user