mirror of
https://github.com/go-task/task.git
synced 2026-06-27 14:44:19 +00:00
fix error in evaluating dynamic variables with newly created directory
This commit is contained in:
10
testdata/dir/dynamic_var_on_created_dir/Taskfile.yml
vendored
Normal file
10
testdata/dir/dynamic_var_on_created_dir/Taskfile.yml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
default:
|
||||
dir: created
|
||||
cmds:
|
||||
- echo {{.TASK_DIR}}
|
||||
vars:
|
||||
TASK_DIR:
|
||||
sh: echo $(pwd)
|
||||
Reference in New Issue
Block a user