Don't splat 2nd arg to ErrorDuringExecution::new
This commit is contained in:
parent
714bf51524
commit
1ee40e831a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user