Skip to content

Conversation

@trulede
Copy link
Contributor

@trulede trulede commented Dec 6, 2025

Support task calls with ignore_error.

  • Parse ignore_error into the cmd object for task calls.
  • Handle the error condition after a task call, ignoring if error_ignore was set.

fixes #363

Example task definition

version: "3"

tasks:
  bad:
    cmds:
      - exit 1
  default:
    cmds:
      - task: bad
        ignore_error: true
      - echo hello

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Respect ignore_error when calling another task from a command

1 participant