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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user