Skip to content
Myr

Annotate why we ignore error

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

authored by Christian Muehlhaeuser · committed by Christian Rocha · parent 91cfe19 · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:tty_unix.go+1 added-1 removed
12 unmodified lines
13 // If input's a file, use console to manage it14 if f, ok := p.input.(*os.File); ok {15 c, err := console.ConsoleFromFile(f)16 if err != nil {17 return nil17 return nil //nolint:nilerr // ignore error, this was just a test18 }19 p.console = c20 }21
21 unmodified lines