Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechsTech committed Feb 6, 2018
1 parent 575811b commit 8b21ee1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,8 @@ module.exports = function(archive, files, options) {
})

// When all is done resolve the Promise.
.done(function(args) {
return resolve(args);
})
.then(function(args) {
console.log(args);
return resolve(args);
})
// Catch the error and pass it to the reject function of the Promise.
.catch(function(err) {
Expand Down

0 comments on commit 8b21ee1

Please sign in to comment.