pull/36/head
Evan Chen 2021-10-21 03:06:53 +08:00
parent b1b7ca737b
commit e90f1e8e87
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
# 0.1.2
## Feature
## Fix
* all cmds should be pass straight back to user
# 0.1.1
## Feature

View File

@ -58,10 +58,10 @@ func (f *File) Do() (string, error) {
if runtime.GOOS == "windows" {
cmd = exec.Command(WIN_SHELL, "/c", f.Action)
}
out, err := cmd.CombinedOutput()
if err != nil {
return "", err
}
out, _ := cmd.CombinedOutput()
// if err != nil {
// return "", err
// }
return string(out), nil
}