mirror of
https://github.com/go-task/task.git
synced 2025-06-25 00:47:04 +02:00
fix(expand): return nothing if there are no matches
This commit is contained in:
@ -128,6 +128,7 @@ func ExpandFields(s string) ([]string, error) {
|
||||
Env: expand.FuncEnviron(os.Getenv),
|
||||
ReadDir2: os.ReadDir,
|
||||
GlobStar: true,
|
||||
NullGlob: true,
|
||||
}
|
||||
return expand.Fields(cfg, words...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user