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 aba2bd5 commit b50d2feCopy full SHA for b50d2fe
cli/ssh.go
@@ -74,8 +74,8 @@ func ssh() *cobra.Command {
74
}
75
76
updateWorkspaceBanner, outdated := verifyWorkspaceOutdated(client, workspace)
77
- if outdated {
78
- _, _ = fmt.Fprintln(cmd.OutOrStdout(), updateWorkspaceBanner)
+ if outdated && isTTYOut(cmd) {
+ _, _ = fmt.Fprintln(cmd.ErrOrStderr(), updateWorkspaceBanner)
79
80
81
// OpenSSH passes stderr directly to the calling TTY.
0 commit comments