forked from Mirrors/bubbletea
chore: remove incorrect space before nolint directives
This commit is contained in:
parent
5c8eb85b69
commit
b404baff60
6
tea.go
6
tea.go
|
@ -313,7 +313,7 @@ func (p *Program) StartReturningModel() (Model, error) {
|
|||
return p.initialModel, err
|
||||
}
|
||||
|
||||
defer f.Close() // nolint:errcheck
|
||||
defer f.Close() //nolint:errcheck
|
||||
|
||||
p.input = f
|
||||
|
||||
|
@ -336,7 +336,7 @@ func (p *Program) StartReturningModel() (Model, error) {
|
|||
return p.initialModel, err
|
||||
}
|
||||
|
||||
defer f.Close() // nolint:errcheck
|
||||
defer f.Close() //nolint:errcheck
|
||||
|
||||
p.input = f
|
||||
}
|
||||
|
@ -431,7 +431,7 @@ func (p *Program) StartReturningModel() (Model, error) {
|
|||
} else {
|
||||
defer close(p.readLoopDone)
|
||||
}
|
||||
defer p.cancelReader.Close() // nolint:errcheck
|
||||
defer p.cancelReader.Close() //nolint:errcheck
|
||||
|
||||
if f, ok := p.output.TTY().(*os.File); ok && isatty.IsTerminal(f.Fd()) {
|
||||
// Get the initial terminal size and send it to the program.
|
||||
|
|
Loading…
Reference in New Issue