fixed bash-for-windows
This commit is contained in:
@@ -43,7 +43,7 @@ func runFile(path string, args []string) error {
|
||||
return fmt.Errorf("%s: %v", path, err)
|
||||
}
|
||||
sh := shell.New()
|
||||
sh.SetArgs(append([]string{path}, args...))
|
||||
sh.SetArgs(args)
|
||||
sh.SetVar("0", path)
|
||||
return sh.Execute(string(data))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user