1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-23 22:24:51 +02:00

Enable errorlint linter, and fix warnings

This commit is contained in:
Stefan Haller
2025-06-30 11:11:35 +02:00
parent 0471dbaa84
commit 7aa426fa71
6 changed files with 17 additions and 17 deletions

View File

@@ -214,12 +214,10 @@ func RunTUI(raceDetector bool) {
err = g.MainLoop()
g.Close()
switch err {
case gocui.ErrQuit:
if errors.Is(err, gocui.ErrQuit) {
return
default:
log.Panicln(err)
}
log.Panicln(err)
}
type app struct {