Merge pull request #4088 from rayhamel/rayhamel-patch-1
AbstractDownloadStrategy#safe_system : Don't splat 2nd arg to ErrorDuringExecution::new
This commit is contained in:
commit
6896b086e4
@ -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