-
-
Notifications
You must be signed in to change notification settings - Fork 729
Labels
area: variablesChanges related to variables.Changes related to variables.
Description
Description
Consider this taskfile.yaml
:
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"
tasks:
test:
cmds:
- 'echo "arguments: {{.CLI_ARGS}}"'
Before v3.43.1
this would print:
"arguments: "
Now it prints:
"arguments: []"
In my taskfiles, I used to always append {{.CLI_ARGS}}
to a command such that users may add more arguments via --
. Now this would need some sort of concatenation which I'm not sure how to achieve.
Is this expected behaviour or a regression?
Best, Roman
Version
3.43.1
Operating system
MacOS
Experiments Enabled
No response
Example Taskfile
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"
tasks:
test:
cmds:
- 'echo "arguments: {{.CLI_ARGS}}"'
TomerYogev, tanavya-juumeai, FilipSolich, notnmeyer, stephichau and 2 more
Metadata
Metadata
Assignees
Labels
area: variablesChanges related to variables.Changes related to variables.