Fix:phase execution
phase (not only its tasks) must be executed after the tasks of previous phases
This commit is contained in:
@@ -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); } });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user