Permalink
Browse files

Correct use of `Q.all()`

  • Loading branch information...
1 parent 1488736 commit 08ee31351071ac24b5acda5e61379fb37dde3df6 @arikon committed Feb 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cli.js
View
@@ -94,7 +94,7 @@ exports.main = function () {
console.log('binaries = %s', SYS.inspect(BIN));
return args.pkg.reduce(function(done, pkg) {
- return Q.all(done, debianize(pkg, opts)).get(0);
+ return Q.all([done, debianize(pkg, opts)]).get(0);
}, undefined);
}

0 comments on commit 08ee313

Please sign in to comment.