Skip to content
Myr

chore: fix linter warnings

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Christian Muehlhaeuser · committed by Christian Muehlhaeuser · parent 273f59b · Browse files · 2 files+5 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+5 added−3 removed

  • other:+5 added−3 removed

2 files+5 added−3 removed

modified:nil_renderer.go+1 added-1 removed
3 unmodified lines
45func (n nilRenderer) start() {}6func (n nilRenderer) stop() {}7func (n nilRenderer) kill() {}8func (n nilRenderer) write(v string) {}8func (n nilRenderer) write(_ string) {}9func (n nilRenderer) repaint() {}10func (n nilRenderer) clearScreen() {}11func (n nilRenderer) altScreen() bool { return false }12func (n nilRenderer) enterAltScreen() {}
7 unmodified lines
modified:tea.go+4 added-2 removed
312 unmodified lines
313 for _, cmd := range msg {314 if cmd == nil {315 continue316 }317318 msg := cmd()319 if batchMsg, ok := msg.(BatchMsg); ok {320 g, _ := errgroup.WithContext(p.ctx)321 for _, cmd := range batchMsg {
2 unmodified lines
324 p.Send(cmd())325 return nil326 })327 }328329 //nolint:errcheck330 g.Wait() // wait for all commands from batch msg to finish331 continue330 } else {331 p.Send(msg)332 }333334 p.Send(msg)335 }336 }()337 }338
315 unmodified lines