Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
clarify
  • Loading branch information
mafredri committed Jul 9, 2024
commit fb1d0d9749c40bc6b47743a2f86300c68303ea40
7 changes: 4 additions & 3 deletions cli/configssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,10 @@ func (r *RootCmd) configSSH() *serpent.Command {
sshConfigOpts.header = r.header
sshConfigOpts.headerCommand = r.headerCommand

// Talk to the API early to prevent bad placement of the
// version mismatch warning. The asynchronous requests
// 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
// by sshPrepareWorkspaceConfigs may otherwise trigger the
// warning at any time.
_, _ = client.BuildInfo(ctx)

Expand Down