1
0
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:
Andrey Nering
2018-08-05 12:53:42 -03:00
parent c70343a5bc
commit feaf70922d
5 changed files with 63 additions and 26 deletions

View File

@@ -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