diff --git a/lib/cartodb/utils/phased-execution.js b/lib/cartodb/utils/phased-execution.js index ec1de9b1..68fc7933 100644 --- a/lib/cartodb/utils/phased-execution.js +++ b/lib/cartodb/utils/phased-execution.js @@ -83,7 +83,7 @@ module.exports = class PhasedExecution { if (phase) { phase(this); return Promise.all(this.tasks) - .then(this.run()) + .then(() => this.run()) .then(() => { if (callback) { callback(this.results); } }); } }