mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-04 22:34:39 +02:00
fix bug with subprocess
This commit is contained in:
parent
befa35645e
commit
0092c9d08d
@ -645,7 +645,11 @@ func (gui *Gui) runSubprocessWithSuspense(subprocess oscommands.ICmdObj) (bool,
|
||||
|
||||
gui.PauseBackgroundThreads = false
|
||||
|
||||
return cmdErr == nil, gui.surfaceError(cmdErr)
|
||||
if cmdErr != nil {
|
||||
return false, gui.surfaceError(cmdErr)
|
||||
}
|
||||
|
||||
return true, nil
|
||||
}
|
||||
|
||||
func (gui *Gui) runSubprocess(cmdObj oscommands.ICmdObj) error { //nolint:unparam
|
||||
|
Loading…
x
Reference in New Issue
Block a user