mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-12 23:19:29 +08:00
Output error message in runCommand
This commit is contained in:
parent
8aea6a3bfc
commit
15e5eb67f9
@ -246,6 +246,7 @@ func runCommand(dir string, exitOnError bool, command string, args ...string) er
|
||||
output, err := cmd.CombinedOutput()
|
||||
if err != nil {
|
||||
println(string(output))
|
||||
println(err.Error())
|
||||
if exitOnError {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user