mirror of
https://github.com/go-task/task.git
synced 2025-11-06 09:09:13 +02:00
Allow ignore_error at task level
This commit is contained in:
13
testdata/ignore_errors/Taskfile.yml
vendored
13
testdata/ignore_errors/Taskfile.yml
vendored
@@ -1,6 +1,15 @@
|
||||
version: 2
|
||||
version: '2'
|
||||
|
||||
tasks:
|
||||
task-should-pass:
|
||||
cmds:
|
||||
- exit 1
|
||||
ignore_error: true
|
||||
|
||||
task-should-fail:
|
||||
cmds:
|
||||
- exit 1
|
||||
|
||||
cmd-should-pass:
|
||||
cmds:
|
||||
- cmd: exit 1
|
||||
@@ -8,4 +17,4 @@ tasks:
|
||||
|
||||
cmd-should-fail:
|
||||
cmds:
|
||||
- cmd: exit 1
|
||||
- cmd: exit 1
|
||||
|
||||
Reference in New Issue
Block a user