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
|
||||
attr_reader :formula
|
||||
|
||||
def initialize formula, message=""
|
||||
def initialize(formula, message)
|
||||
super message
|
||||
@formula = formula
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user