jscrambler 6.1.2 → 6.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -172,7 +172,7 @@ var _default = {
|
|
|
172
172
|
switch (_context.prev = _context.next) {
|
|
173
173
|
case 0:
|
|
174
174
|
sources = _ref.sources, filesSrc = _ref.filesSrc, cwd = _ref.cwd, appProfiling = _ref.appProfiling;
|
|
175
|
-
promise =
|
|
175
|
+
promise = Promise.resolve();
|
|
176
176
|
|
|
177
177
|
if (!(sources || filesSrc && filesSrc.length)) {
|
|
178
178
|
_context.next = 6;
|
|
@@ -256,7 +256,7 @@ var _default = {
|
|
|
256
256
|
filename: 'application.zip',
|
|
257
257
|
extension: 'zip'
|
|
258
258
|
};
|
|
259
|
-
promise.then(function (removeRes) {
|
|
259
|
+
promise = promise.then(function (removeRes) {
|
|
260
260
|
errorHandler(removeRes);
|
|
261
261
|
return _this.addApplicationSource(client, applicationId, source);
|
|
262
262
|
}).then(errorHandler).catch(function (e) {
|