cask/exceptions: fix super calls.
Ensure that we always pass no arguments here.
This commit is contained in:
parent
333623d14e
commit
e8143e5de7
@ -5,7 +5,7 @@ module Cask
|
|||||||
|
|
||||||
class MultipleCaskErrors < CaskError
|
class MultipleCaskErrors < CaskError
|
||||||
def initialize(errors)
|
def initialize(errors)
|
||||||
super
|
super()
|
||||||
|
|
||||||
@errors = errors
|
@errors = errors
|
||||||
end
|
end
|
||||||
@ -172,7 +172,7 @@ module Cask
|
|||||||
attr_reader :path, :reason
|
attr_reader :path, :reason
|
||||||
|
|
||||||
def initialize(path, reason)
|
def initialize(path, reason)
|
||||||
super
|
super()
|
||||||
|
|
||||||
@path = path
|
@path = path
|
||||||
@reason = reason
|
@reason = reason
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user