Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a76fd7d commit fb1d0d9Copy full SHA for fb1d0d9
cli/configssh.go
@@ -246,9 +246,10 @@ func (r *RootCmd) configSSH() *serpent.Command {
246
sshConfigOpts.header = r.header
247
sshConfigOpts.headerCommand = r.headerCommand
248
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
+ // Talk to the API early to prevent the version mismatch
+ // warning from being printed in the middle of a prompt.
+ // This is needed because the asynchronous requests issued
252
+ // by sshPrepareWorkspaceConfigs may otherwise trigger the
253
// warning at any time.
254
_, _ = client.BuildInfo(ctx)
255
0 commit comments