style fix
This commit is contained in:
parent
fdc9dc4333
commit
43bec1f58d
@ -352,7 +352,7 @@ module Homebrew
|
|||||||
|
|
||||||
if forbidden_licenses.include? f.license
|
if forbidden_licenses.include? f.license
|
||||||
raise CannotInstallFormulaError, <<~EOS
|
raise CannotInstallFormulaError, <<~EOS
|
||||||
#{f.name} has a forbidden license #{f.license}.
|
#{f.name} has a forbidden license #{f.license}.
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -362,11 +362,8 @@ module Homebrew
|
|||||||
next unless forbidden_licenses.include? dep_f.license
|
next unless forbidden_licenses.include? dep_f.license
|
||||||
|
|
||||||
raise CannotInstallFormulaError, <<~EOS
|
raise CannotInstallFormulaError, <<~EOS
|
||||||
The installation of #{f.name} has a dependency on #{dep.name} with a forbidden license #{dep_f.license}.
|
The installation of #{f.name} has a dependency on #{dep.name} with a forbidden license #{dep_f.license}.
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user