From 43bec1f58db9e9fe81a77309445a30f3a4ab7a9b Mon Sep 17 00:00:00 2001 From: lionellloh Date: Tue, 7 Jul 2020 17:33:11 +0800 Subject: [PATCH] style fix --- Library/Homebrew/cmd/install.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 2072b7fa05..9d90603b92 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -352,7 +352,7 @@ module Homebrew if forbidden_licenses.include? f.license raise CannotInstallFormulaError, <<~EOS - #{f.name} has a forbidden license #{f.license}. + #{f.name} has a forbidden license #{f.license}. EOS end @@ -362,11 +362,8 @@ module Homebrew next unless forbidden_licenses.include? dep_f.license 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 end end - end - -