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.
2 parents fb43f3d + bdff091 commit fa470aaCopy full SHA for fa470aa
src/shared/extensions/ssh.ts
@@ -126,7 +126,8 @@ export async function startVscodeRemote(
126
vscPath: string,
127
user?: string
128
): Promise<void> {
129
- const workspaceUri = `vscode-remote://ssh-remote+${`${user}@` ?? ''}${hostname}${targetDirectory}`
+ const userAt = user ? `${user}@` : ''
130
+ const workspaceUri = `vscode-remote://ssh-remote+${userAt}${hostname}${targetDirectory}`
131
132
const settings = new RemoteSshSettings()
133
settings.ensureDefaultExtension(VSCODE_EXTENSION_ID.awstoolkit)
0 commit comments