You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[]$ task print NAME="test"
task: [print] echo test
test
task: [print] echo /tmp//.tmp
/tmp//.tmp
I didn't find any reference to it in the documentation, but it looks like Taskfile does not expand the environmental variable properly, variable NAME is expanded in the task section, but when it's assigned to another var in global section (PATH: /tmp/{{ .NAME }}/.tmp it's just empty string instead
The text was updated successfully, but these errors were encountered:
Taskfile.yml:
the result of the task:
I didn't find any reference to it in the documentation, but it looks like Taskfile does not expand the environmental variable properly, variable
NAME
is expanded in the task section, but when it's assigned to another var in global section (PATH: /tmp/{{ .NAME }}/.tmp
it's just empty string insteadThe text was updated successfully, but these errors were encountered: