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
|
||||
problem "#{formula.license} is not a standard SPDX license."
|
||||
end
|
||||
else
|
||||
elsif @new_formula
|
||||
problem "No license specified for package."
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user