Skip to content

Commit aacbc18

Browse files
committed
fix lint
1 parent a1ca511 commit aacbc18

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

internal/provider/git_test.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,10 @@ func startSSHServer(ctx context.Context, t testing.TB, dir string) string {
147147

148148
t.Logf("session ended: %s", s.RawCommand())
149149

150-
s.Exit(cmd.ProcessState.ExitCode())
150+
err = s.Exit(cmd.ProcessState.ExitCode())
151+
if err != nil {
152+
t.Logf("session exit failed: %s", err)
153+
}
151154
},
152155
}
153156

0 commit comments

Comments
 (0)