mirror of
https://github.com/go-task/task.git
synced 2025-11-23 22:24:45 +02:00
fix: resolve directory correctly when using --dir
This commit is contained in:
@@ -52,3 +52,7 @@ func (node *FileNode) Read(ctx context.Context) ([]byte, error) {
|
||||
defer f.Close()
|
||||
return io.ReadAll(f)
|
||||
}
|
||||
|
||||
func (node *FileNode) BaseDir() string {
|
||||
return node.Dir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user