Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb1d0d9

Browse files
committed
clarify
1 parent a76fd7d commit fb1d0d9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cli/configssh.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,10 @@ func (r *RootCmd) configSSH() *serpent.Command {
246246
sshConfigOpts.header = r.header
247247
sshConfigOpts.headerCommand = r.headerCommand
248248

249-
// Talk to the API early to prevent bad placement of the
250-
// version mismatch warning. The asynchronous requests
251-
// issued by sshPrepareWorkspaceConfigs may trigger the
249+
// Talk to the API early to prevent the version mismatch
250+
// warning from being printed in the middle of a prompt.
251+
// This is needed because the asynchronous requests issued
252+
// by sshPrepareWorkspaceConfigs may otherwise trigger the
252253
// warning at any time.
253254
_, _ = client.BuildInfo(ctx)
254255

0 commit comments

Comments
 (0)