diff --git a/lib/util/task.js b/lib/util/task.js index 61a004d7a..377ee36bf 100644 --- a/lib/util/task.js +++ b/lib/util/task.js @@ -211,6 +211,8 @@ // The task succeeded. success = true; } + // Set the done flag on the context so it can be determined if complete was called + context.done = true; // The task has ended, reset the current task object. this.current = {}; // A task has "failed" only if it returns false (async) or if the