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:
Mike McQuaid 2018-04-18 09:04:48 +01:00 committed by GitHub
commit 6896b086e4
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