mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
IgnoreError
* Document ignore_error * ignore_error only for commands
This commit is contained in:
24
testdata/ignore_errors/Taskfile.yml
vendored
24
testdata/ignore_errors/Taskfile.yml
vendored
@@ -1,15 +1,11 @@
|
||||
CmdShouldPass:
|
||||
cmds:
|
||||
- cmd: UnknownCommandThatNeverWillExist
|
||||
ignoreError: true
|
||||
CmdShouldFail:
|
||||
cmds:
|
||||
- cmd: UnknownCommandThatNeverWillExist
|
||||
version: 2
|
||||
|
||||
TaskShouldPass:
|
||||
cmds:
|
||||
- task: CmdShouldFail
|
||||
ignoreError: true
|
||||
TaskShouldFail:
|
||||
cmds:
|
||||
- task: CmdShouldFail
|
||||
tasks:
|
||||
cmd-should-pass:
|
||||
cmds:
|
||||
- cmd: exit 1
|
||||
ignore_error: true
|
||||
|
||||
cmd-should-fail:
|
||||
cmds:
|
||||
- cmd: exit 1
|
Reference in New Issue
Block a user