Skip to content

Commit fecc828

Browse files
author
Adam Berry
committed
Move remote ssh extension from dep to activation
1 parent d6781ce commit fecc828

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
"onCommand:coder.connect",
3030
"onUri"
3131
],
32-
"extensionDependencies": [
33-
"ms-vscode-remote.remote-ssh"
34-
],
3532
"main": "./dist/extension.js",
3633
"contributes": {
3734
"configuration": {

src/extension.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<void> {
2929
vscode.extensions.getExtension("anysphere.open-remote-ssh") ||
3030
vscode.extensions.getExtension("ms-vscode-remote.remote-ssh")
3131
if (!remoteSSHExtension) {
32+
vscode.window.showErrorMessage("Remote SSH extension not found, cannot activate Coder extension")
3233
throw new Error("Remote SSH extension not found")
3334
}
3435
// eslint-disable-next-line @typescript-eslint/no-explicit-any

0 commit comments

Comments
 (0)