Skip to content

Task exit earlier than it should, since 3.44.1 #2623

@NargiT

Description

@NargiT

Description

The way errors are handled exit task earlier that expected.
I suspect #2319

Version

3.44.1+

Operating system

Linux

Experiments Enabled

None

Example Taskfile

version: '3'

tasks:
  default:
    desc: "This fails since 3.44.1"
    cmds:
      - |
        errors="[]"
        if echo "$errors" | jq -e 'length > 0' >/dev/null; then
          echo "Found errors";
        fi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions