license-forbidden: indent style
This commit is contained in:
parent
80887e649b
commit
aaa51fb71e
@ -348,8 +348,8 @@ def forbidden_license_check(f)
|
|||||||
forbidden_licenses = ENV["HOMEBREW_FORBIDDEN_LICENSES"].split(" ")
|
forbidden_licenses = ENV["HOMEBREW_FORBIDDEN_LICENSES"].split(" ")
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user