Description
Taskfile:
version '3'
set:
- errexit
- nounset
- pipefail
- xtrace
...
foo:
cmd: echo RUNNING FOO
status:
- cat non-existent-file | jq '{}'
...
Running this:
$ task foo
task: Task "foo" is up to date
As a user, I expected pipefail to be applied and used for status commands as well, not just for cmd/cmds.
Version
3.45.4
Operating system
macOS
Experiments Enabled
No response
Example Taskfile
version '3'
set:
- errexit
- nounset
- pipefail
- xtrace
tasks:
foo:
cmd: echo RUNNING FOO
status:
- cat non-existent-file | jq '{}'
Description
Taskfile:
Running this:
$ task foo task: Task "foo" is up to dateAs a user, I expected
pipefailto be applied and used forstatuscommands as well, not just forcmd/cmds.Version
3.45.4
Operating system
macOS
Experiments Enabled
No response
Example Taskfile