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 65d79dc commit bdff091Copy full SHA for bdff091
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