diff --git a/lib/index.js b/lib/index.js index aa4f5833c..2ffba744e 100644 --- a/lib/index.js +++ b/lib/index.js @@ -99,6 +99,7 @@ NwBuilder.prototype.build = function (callback) { .then(this.zipAppFiles) .then(this.mergeAppFiles) .then(function (info) { + var info = this.zips; if(hasCallback) { callback(false, info); } else {