Reject dockerError instead of error

This commit is contained in:
Steven Zeck 2018-05-15 10:27:20 -05:00
parent 72bb96e6f7
commit e4746ae86e
No known key found for this signature in database
GPG Key ID: 621B374B29AA814A
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ class HybridExecutable extends Executable
.then(=> @) .then(=> @)
.catch((dockerError) => .catch((dockerError) =>
@debug(dockerError) @debug(dockerError)
Promise.reject(error) Promise.reject(dockerError)
) )
run: (args, options = {}) -> run: (args, options = {}) ->