Don't splat 2nd arg to ErrorDuringExecution::new

This commit is contained in:
Ray Hamel 2018-04-17 19:09:54 -04:00 committed by GitHub
parent 714bf51524
commit 1ee40e831a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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