mirror of
https://github.com/go-task/task.git
synced 2025-05-13 22:16:31 +02:00
fix(expand): return nothing if there are no matches
This commit is contained in:
parent
fb68a5f79a
commit
da4ce5b0a5
@ -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...)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user