From e90f1e8e87e58579e3aa29dc5b9e2c4f61c76ad3 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Thu, 21 Oct 2021 03:06:53 +0800 Subject: [PATCH] fix: #25 --- CHANGELOG.md | 8 ++++++++ configui/file.go | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7640755..94e9cd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +# 0.1.2 + +## Feature + +## Fix + +* all cmds should be pass straight back to user + # 0.1.1 ## Feature diff --git a/configui/file.go b/configui/file.go index b3af184..b902260 100644 --- a/configui/file.go +++ b/configui/file.go @@ -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 }