fix(cli): fix install error (#2146)

Fixed: https://github.com/wailsapp/wails/issues/2145
This commit is contained in:
Misite Bao
2022-11-29 19:26:49 +11:00
committed by GitHub
parent 73caeb9793
commit 15b7d291f3
@@ -7,6 +7,8 @@ import (
"bytes"
"os/exec"
"strconv"
"github.com/wailsapp/wails/v2/cmd/wails/internal/logutils"
)
func setParentGID(_ *exec.Cmd) {}
@@ -25,7 +27,7 @@ func killProc(cmd *exec.Cmd, devCommand string) {
if err.Error() != "exit status 1" {
println(stdoutBuffer.String())
println(errorBuffer.String())
LogRed("Error from '%s': %s", devCommand, err.Error())
logutils.LogRed("Error from '%s': %s", devCommand, err.Error())
}
}
}