不要怂,就是干,撸起袖子干!

Commit b29184d1 by Matheus Bratfisch

Adding fix to issue #2736

1 parent d5e9a983
Showing with 5 additions and 0 deletions
......@@ -604,7 +604,12 @@ module.exports = (function() {
dao[cascades[i]]().success(function(tasks) {
if (tasks === null || tasks.length < 1) {
if (i >= cascades.length) {
return resolve();
} else {
tick++;
return iterate(null, tick);
}
}
tasks = Array.isArray(tasks) ? tasks : [tasks];
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!