From bdb64aa178c1531661d74f58cd2435c30e029272 Mon Sep 17 00:00:00 2001 From: Lionell Loh Jian An Date: Thu, 9 Jul 2020 16:28:00 +0800 Subject: [PATCH] Apply suggestions from code review Code review changes Co-authored-by: Mike McQuaid --- Library/Homebrew/formula_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 5d6e2de74f..a86867c2af 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -1107,7 +1107,7 @@ class FormulaInstaller end def forbidden_license_check - forbidden_licenses = (Homebrew::EnvConfig.forbidden_licenses || "").split(" ") + forbidden_licenses = Homebrew::EnvConfig.forbidden_licenses.to_s.split(" ") return if forbidden_licenses.blank? if forbidden_licenses.include? formula.license