chore(deps): update dependency golangci/golangci-lint to v2

This commit is contained in:
Julian Tölle 2025-05-04 00:29:55 +02:00
parent 099ae2d061
commit bd3c2e4342
3 changed files with 6 additions and 6 deletions

View file

@ -12,7 +12,7 @@ func Run(client *ssh.Client, cmd string, stdin io.Reader) ([]byte, error) {
if err != nil {
return nil, err
}
defer sess.Close()
defer func() { _ = sess.Close() }()
if stdin != nil {
sess.Stdin = stdin