1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-22 05:29:44 +02:00

remove log of error now that we're returning it normally

This commit is contained in:
Jesse Duffield 2021-12-29 09:10:47 +11:00
parent 673c4a1296
commit 48a4565d1f

View File

@ -635,9 +635,6 @@ func (gui *Gui) runSubprocess(cmdObj oscommands.ICmdObj) error {
fmt.Fprintf(os.Stdout, "\n%s\n\n", style.FgBlue.Sprint("+ "+strings.Join(subprocess.Args, " ")))
err := subprocess.Run()
if err != nil {
gui.Log.Error(err)
}
subprocess.Stdout = ioutil.Discard
subprocess.Stderr = ioutil.Discard