1
0
mirror of https://github.com/go-task/task.git synced 2025-11-27 22:38:20 +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

@@ -4,7 +4,6 @@ import (
"context"
"io"
"os"
"path/filepath"
"sync"
"time"
@@ -123,7 +122,6 @@ type dirOption struct {
}
func (o *dirOption) ApplyToExecutor(e *Executor) {
e.UserWorkingDir, _ = filepath.Abs(o.dir)
e.Dir = o.dir
}