From e8143e5de7726a4ba4c1fd5e82d4b3ab5f5dff9a Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 21 Aug 2020 13:09:51 +0100 Subject: [PATCH] cask/exceptions: fix super calls. Ensure that we always pass no arguments here. --- Library/Homebrew/cask/exceptions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cask/exceptions.rb b/Library/Homebrew/cask/exceptions.rb index 48ba8cd6fc..9614b6780e 100644 --- a/Library/Homebrew/cask/exceptions.rb +++ b/Library/Homebrew/cask/exceptions.rb @@ -5,7 +5,7 @@ module Cask class MultipleCaskErrors < CaskError def initialize(errors) - super + super() @errors = errors end @@ -172,7 +172,7 @@ module Cask attr_reader :path, :reason def initialize(path, reason) - super + super() @path = path @reason = reason