diff options
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index d938b52e2..949eee233 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -27,9 +27,7 @@ class FormulaValidationError < StandardError def initialize(attr, value) @attr = attr - msg = "invalid attribute: #{attr}" - msg << " (#{value.inspect})" unless value.empty? - super msg + super "invalid attribute: #{attr} (#{value.inspect})" end end |
