Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/util/task.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down