1
0
mirror of https://github.com/go-task/task.git synced 2025-11-23 22:24:45 +02:00

Revert "fix: .USER_WORKING_DIR should contain the value of --dir if given (#2186)"

This reverts commit 768dca053b.
This commit is contained in:
Pete Davison
2025-04-27 22:14:50 +00:00
parent 6cb0a5a2f2
commit 68d5095761
4 changed files with 2 additions and 10 deletions

View File

@@ -2151,7 +2151,7 @@ func TestUserWorkingDirectory(t *testing.T) {
var buff bytes.Buffer
e := task.NewExecutor(
task.WithEntrypoint("testdata/user_working_dir/Taskfile.yml"),
task.WithDir("testdata/user_working_dir"),
task.WithStdout(&buff),
task.WithStderr(&buff),
)