Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
Fix commented line: Uncomment and style required line in upload method
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Jan 16, 2019
1 parent ab17682 commit ddf5798
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,10 @@ function upload (options, callback) {
Promise.resolve(options)
.then(applyDefaults)
.then(validateOptions)
// .then(opts => options = opts)
.then(opts => {
options = opts
return options
})
.then(transformOptions)
.then(prepareRequest)
.then(sendRequest)
Expand Down

0 comments on commit ddf5798

Please sign in to comment.