Skip to content

Commit e07ab5a

Browse files
committed
fix apparently unsupported language syntax in linter...
1 parent f5a0189 commit e07ab5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/ssh.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ func (r *RootCmd) ssh() *clibase.Cmd {
379379

380380
err = sshSession.Wait()
381381
if err != nil {
382-
if exitErr := &gossh.ExitError{}; errors.As(err, &exitErr) {
382+
if exitErr := (&gossh.ExitError{}); errors.As(err, &exitErr) {
383383
// Clear the error since it's not useful beyond
384384
// reporting status.
385385
return ExitError(exitErr.ExitStatus(), nil)

0 commit comments

Comments
 (0)