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 4fe9f3b commit 4683398
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ module.exports = function(archive, files, options) {
})

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

0 comments on commit 4683398

Please sign in to comment.