fix: #25
parent
b1b7ca737b
commit
e90f1e8e87
|
@ -1,3 +1,11 @@
|
|||
# 0.1.2
|
||||
|
||||
## Feature
|
||||
|
||||
## Fix
|
||||
|
||||
* all cmds should be pass straight back to user
|
||||
|
||||
# 0.1.1
|
||||
|
||||
## Feature
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue