Respect ignore_error when calling another task from a command

  • Task version: master
  • OS: Linux

When calling task other with the following Taskfiles:

this works, the error is ignored

version: "3"

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

this does not work, nothing is printed

version: "3"

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