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:
Jack Nagel 2014-09-12 21:26:24 -05:00
parent 1ace6f147d
commit c85c165fe9

View File

@ -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