mirror of
https://github.com/go-task/task.git
synced 2026-06-28 23:24:25 +00:00
fix: .USER_WORKING_DIR should contain the value of --dir if given (#2186)
Closes #2102 Closes #2103 Co-authored-by: jaynis <kranz.jannis@googlemail.com>
This commit is contained in:
@@ -115,7 +115,7 @@ special variable will be overridden.
|
||||
| `TASKFILE` | The absolute path of the included Taskfile. |
|
||||
| `TASKFILE_DIR` | The absolute path of the included Taskfile directory. |
|
||||
| `TASK_DIR` | The absolute path of the directory where the task is executed. |
|
||||
| `USER_WORKING_DIR` | The absolute path of the directory `task` was called from. |
|
||||
| `USER_WORKING_DIR` | The absolute path of the directory `task` was called from, or the value of `--dir` (`-d`) if given. |
|
||||
| `CHECKSUM` | The checksum of the files listed in `sources`. Only available within the `status` prop and if method is set to `checksum`. |
|
||||
| `TIMESTAMP` | The date object of the greatest timestamp of the files listed in `sources`. Only available within the `status` prop and if method is set to `timestamp`. |
|
||||
| `TASK_VERSION` | The current version of task. |
|
||||
|
||||
Reference in New Issue
Block a user