1
0
mirror of https://github.com/go-task/task.git synced 2025-12-01 22:52:02 +02:00

fix: sources brace expansion (#2075)

This commit is contained in:
Pete Davison
2025-04-19 11:51:31 +01:00
committed by GitHub
parent f789c57624
commit a60c2ec3f8
10 changed files with 63 additions and 32 deletions

View File

@@ -48,7 +48,7 @@ func (node *StdinNode) ResolveEntrypoint(entrypoint string) (string, error) {
return entrypoint, nil
}
path, err := execext.Expand(entrypoint)
path, err := execext.ExpandLiteral(entrypoint)
if err != nil {
return "", err
}
@@ -61,7 +61,7 @@ func (node *StdinNode) ResolveEntrypoint(entrypoint string) (string, error) {
}
func (node *StdinNode) ResolveDir(dir string) (string, error) {
path, err := execext.Expand(dir)
path, err := execext.ExpandLiteral(dir)
if err != nil {
return "", err
}