Skip to content

Regression: character escaping ignored #2129

@NorbertHauriel

Description

@NorbertHauriel

Description

Running the same task in two different versions produce different outputs, breaking previously working tasks.

v3.41.0 outputs this txt file content:
/
v3.42.0 outputs this txt file content:
//

Version

v3.42.0

Operating system

Linux

Experiments Enabled

No

Example Taskfile

tasks:
  default:
    cmds:
      - |
        cat <<EOF > ./test.txt
        \\
        EOF

Metadata

Metadata

Assignees

No one assigned

    Labels

    dep: mvdan/shIssues related to the upstream interpreter used by Task.

    Type

    No fields configured for bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions