diff --git a/README.md b/README.md index e2bbd19a..46d76157 100644 --- a/README.md +++ b/README.md @@ -655,8 +655,8 @@ tasks: - echo "Hello World" ``` -Task will abort the execution after running `exit 1` because the status code `1` stands for `EXIT_FAILURE`. -However it is possible to continue with execution using `ignore_errors`: +Task will abort the execution after running `exit 1` because the status code `1` stands for `EXIT_FAILURE`. +However it is possible to continue with execution using `ignore_error`: ```yml version: '2' @@ -665,10 +665,14 @@ tasks: echo: cmds: - cmd: exit 1 - ignore_errors: true + ignore_error: true - echo "Hello World" ``` +`ignore_error` can also be set for a task, which mean errors will be supressed +for all commands. But keep in mind this option won't propagate to other tasks +called either by `deps` or `cmds`! + ## Output syntax By default, Task just redirect the STDOUT and STDERR of the running commands