diff options
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index b74234c35..add29a2f0 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -95,8 +95,8 @@ class CannotInstallFormulaError < RuntimeError; end class FormulaAlreadyInstalledError < RuntimeError; end class FormulaInstallationAlreadyAttemptedError < Homebrew::InstallationError - def message - "Formula installation already attempted: #{formula}" + def initialize(formula) + super formula, "Formula installation already attempted: #{formula}" end end |
