diff --git a/tty_unix.go b/tty_unix.go index 974b9b5..74fe8df 100644 --- a/tty_unix.go +++ b/tty_unix.go @@ -14,7 +14,7 @@ func (p *Program) initInput() error { if f, ok := p.input.(*os.File); ok { c, err := console.ConsoleFromFile(f) if err != nil { - return nil + return nil //nolint:nilerr // ignore error, this was just a test } p.console = c }