function name change
This commit is contained in:
parent
ab3d1b69a0
commit
e53e7a1fbd
@ -343,12 +343,12 @@ module Homebrew
|
||||
ofail e.message
|
||||
end
|
||||
|
||||
def get_forbidden_licenses
|
||||
def env_forbidden_licenses
|
||||
Homebrew::EnvConfig.forbidden_licenses.split(" ")
|
||||
end
|
||||
|
||||
def forbidden_license_check(f)
|
||||
forbidden_licenses = get_forbidden_licenses
|
||||
forbidden_licenses = env_forbidden_licenses
|
||||
|
||||
if forbidden_licenses.include? f.license
|
||||
raise CannotInstallFormulaError, <<~EOS
|
||||
|
Loading…
x
Reference in New Issue
Block a user