From 1ee40e831a42ad29fc6c7d475fe56ca130ff2ecb Mon Sep 17 00:00:00 2001 From: Ray Hamel Date: Tue, 17 Apr 2018 19:09:54 -0400 Subject: [PATCH] Don't splat 2nd arg to `ErrorDuringExecution::new` --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 4e0c3b4d03..1ed474cfb1 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -81,7 +81,7 @@ class AbstractDownloadStrategy def safe_system(*args) if @shutup - quiet_system(*args) || raise(ErrorDuringExecution.new(args.shift, *args)) + quiet_system(*args) || raise(ErrorDuringExecution.new(args.shift, args)) else super(*args) end