Update Library/Homebrew/dev-cmd/audit.rb
audit license: suppress missing license problem unless it is a new_formula Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
4cb22ca899
commit
a58905000c
@ -364,7 +364,7 @@ module Homebrew
|
|||||||
else
|
else
|
||||||
problem "#{formula.license} is not a standard SPDX license."
|
problem "#{formula.license} is not a standard SPDX license."
|
||||||
end
|
end
|
||||||
else
|
elsif @new_formula
|
||||||
problem "No license specified for package."
|
problem "No license specified for package."
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user