Closed Antonboom closed 3 years ago
Hi @Antonboom, thanks for opening this issue!
This is an YAML parse issue. YAML disallows {
after -
, so there's nothing we can do about it. Sorry.
You just need to quote the string as you did in your second example.
Thanks!
@andreynering It'll be nice if comment about this behaviour could be added to the documentation
@MrBr-github if this happens to be a common pitfall, I don't mind a small note/reminder about this somewhere in the docs.
However, it's out of scope for task
to also document how yaml works. There is a link on the home page though to the YAML Schema
I'm making a note to add this documentation at minimum for v4.
Thank you Much appreciated
Task version:
Operating System:
Example Taskfile showing the issue
But this works ok: