Skip to content

Commit

Permalink
Remove malformed nolint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
nkryuchkov committed Aug 27, 2019
1 parent 5150022 commit 4e3fc83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/therealssh/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ func (s *Session) Run(command string) ([]byte, error) {
}() // Best effort.

// as stated in https://github.com/creack/pty/issues/21#issuecomment-513069505 we can ignore this error
res, _ := ioutil.ReadAll(ptmx) // nolint: err
res, err := ioutil.ReadAll(ptmx)
_ = err
return res, nil
}

Expand Down

0 comments on commit 4e3fc83

Please sign in to comment.