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

This commit is contained in:
renovate[bot] 2025-05-04 00:40:35 +02:00 committed by GitHub
parent cef79b943c
commit 4829843c2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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