New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Respect ignore_error when calling another task from a command #363
Comments
Hi @shilangyu, thanks for opening this issue! This doesn't work because it was not originally intended to work like this. It may makes sense to respect that, though... |
@andreynering I stumbled upon this exact problem. EDIT
I will create a separate ticket for the problem I stumbled upon |
My 2c is that version: "3"
tasks:
bad:
cmds:
- exit 1
bad-ignore-error:
ignore_error: true
cmds:
- exit 1
other:
cmds:
- task: bad-ignore-error
- echo hello not ideal but gets the job done |
When calling
task other
with the following Taskfiles:this works, the error is ignored
this does not work, nothing is printed
The text was updated successfully, but these errors were encountered: