Use the superclass properly
This commit is contained in:
parent
1f3bbe64e0
commit
20516ee39b
@ -95,8 +95,8 @@ class CannotInstallFormulaError < RuntimeError; end
|
|||||||
class FormulaAlreadyInstalledError < RuntimeError; end
|
class FormulaAlreadyInstalledError < RuntimeError; end
|
||||||
|
|
||||||
class FormulaInstallationAlreadyAttemptedError < Homebrew::InstallationError
|
class FormulaInstallationAlreadyAttemptedError < Homebrew::InstallationError
|
||||||
def message
|
def initialize(formula)
|
||||||
"Formula installation already attempted: #{formula}"
|
super formula, "Formula installation already attempted: #{formula}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user