Regression: character escaping ignored
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
Looks like this was introduced in 8426f84b18dc08042d64ecb1104267abbb7442fa which bumped the versions of some dependencies.
Edit: Confirmed that downgrading mvdan.cc/sh to v3.10.0 fixes this issue.
@NorbertHauriel Could you please report this upstream and link the issue here so we can track it.
@NorbertHauriel Could you please report this upstream and link the issue here so we can track it.
https://github.com/mvdan/sh/issues/1138
It looks like the upstream https://github.com/mvdan/sh/issues/1138 has been fixed.
Yeah, but it’s not released yet. I’ll update mvdan/sh as soon as they publish a new version.
FWIW this was released with v3.12.0 in July.
Thanks @mvdan!