mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-17 01:42:45 +02:00
handle case where file watcher is disabled
This commit is contained in:
@ -880,7 +880,9 @@ func (gui *Gui) RunWithSubprocesses() error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !gui.fileWatcher.Disabled {
|
||||||
gui.fileWatcher.Watcher.Close()
|
gui.fileWatcher.Watcher.Close()
|
||||||
|
}
|
||||||
|
|
||||||
break
|
break
|
||||||
} else if err == gui.Errors.ErrSwitchRepo {
|
} else if err == gui.Errors.ErrSwitchRepo {
|
||||||
|
Reference in New Issue
Block a user