Skip to content

Remove skipped tasks from the stack.#442

Open
Michael-Downton wants to merge 1 commit intojakejs:mainfrom
Michael-Downton:fix-task-skipping
Open

Remove skipped tasks from the stack.#442
Michael-Downton wants to merge 1 commit intojakejs:mainfrom
Michael-Downton:fix-task-skipping

Conversation

@Michael-Downton
Copy link

_initInvocationChain pushes the task to the stack and is called on task.invoke and task.execute. When a task skips (like a file task does) the task.run() checks to see if it needs to be evaluated and if not, skips the task. Unfortunately it leaves the task on the stack causing some weird finished task messaging and can lead to early bailing.

Lets just pop the task from the stack when skipped.

_initInvocationChain pushes the task to the stack and is called on
task.invoke and task.execute. When a task skips (like a file task does)
the task.run() checks to see if it needs to be evaluated and if not,
skips the task. Unfortunately it leaves the task on the stack causing
some weird finished task messaging and can lead to early bailing.

Lets just pop the task from the stack when skipped.
@Michael-Downton
Copy link
Author

Issue for pr: #441

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant