mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
todo
This commit is contained in:
parent
aabb9832d3
commit
d2ba0e9161
@ -198,12 +198,12 @@ class Jaws {
|
||||
|
||||
return Promise.coroutine(_this._queue[0])()
|
||||
.then(function() {
|
||||
_this._queue.splice(0, 1);
|
||||
_this._queue.splice(0, 1); //todo: change to .shift()
|
||||
if (_this._queue.length) return _this._executeQueue();
|
||||
})
|
||||
.catch(function(error) {
|
||||
console.log('JAWS Plugin Error: ', error, error.stack);
|
||||
_this._queue.splice(0, 1);
|
||||
_this._queue.splice(0, 1); //todo: change to .shift()
|
||||
// Crash, or keep going?
|
||||
if (_this._queue.length) return _this._executeQueue();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user