Remove default argument from Homebrew::InstallationError
This class is never instantiated directly, and all subclasses initializers have different signatures and do not rely on this.
This commit is contained in:
parent
1ace6f147d
commit
c85c165fe9
@ -83,7 +83,7 @@ module Homebrew
|
|||||||
class InstallationError < RuntimeError
|
class InstallationError < RuntimeError
|
||||||
attr_reader :formula
|
attr_reader :formula
|
||||||
|
|
||||||
def initialize formula, message=""
|
def initialize(formula, message)
|
||||||
super message
|
super message
|
||||||
@formula = formula
|
@formula = formula
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user