audit: modified problem statement to match

This commit is contained in:
Lionell 2020-06-24 20:43:33 +08:00
parent ac818ec556
commit 4832a5aa05

View File

@ -358,9 +358,9 @@ module Homebrew
return if github_license && (github_license == formula.license)
problem "License mismatch - GitHub license is: #{github_license}, "\
"but formula license states: #{formula.license}."
"but Formulae license states: #{formula.license}."
else
problem "#{formula.license} is not a SPDX license."
problem "#{formula.license} is not a standard SPDX license."
end
elsif @new_formula
problem "No license specified for package."