Skip to content

Commit 1a0062b

Browse files
committed
ci: fix lint issues
1 parent 9fab4a1 commit 1a0062b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎tea.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ func (p *Program) eventLoop(model Model, cmds chan Cmd) (Model, error) {
422422
// work.
423423
if runtime.GOOS == "windows" && !p.mouseMode {
424424
p.mouseMode = true
425-
p.initCancelReader(true) //nolint:errcheck
425+
p.initCancelReader(true) //nolint:errcheck,gosec
426426
}
427427

428428
case disableMouseMsg:
@@ -433,7 +433,7 @@ func (p *Program) eventLoop(model Model, cmds chan Cmd) (Model, error) {
433433
// mouse events.
434434
if runtime.GOOS == "windows" && p.mouseMode {
435435
p.mouseMode = false
436-
p.initCancelReader(true) //nolint:errcheck
436+
p.initCancelReader(true) //nolint:errcheck,gosec
437437
}
438438

439439
case showCursorMsg:
@@ -483,7 +483,7 @@ func (p *Program) eventLoop(model Model, cmds chan Cmd) (Model, error) {
483483
})
484484
}
485485

486-
//nolint:errcheck
486+
//nolint:errcheck,gosec
487487
g.Wait() // wait for all commands from batch msg to finish
488488
continue
489489
}

0 commit comments

Comments
 (0)