Skip to content

Commit 02e9519

Browse files
committed
removed unnecessary View action
1 parent dc50f44 commit 02e9519

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/extension.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,19 +263,17 @@ async function serverManager(): Promise<void> {
263263
}
264264
return vscode.window
265265
.showInformationMessage(
266-
"The InterSystems® Server Manager extension is recommended to help you define connections."
266+
"The InterSystems® Server Manager extension is recommended to help you define connections.",
267267
"Install",
268268
"Skip",
269269
"Ignore"
270270
)
271271
.then(async (action) => {
272272
switch (action) {
273273
case "Install":
274-
await vscode.commands.executeCommand("workbench.extensions.installExtension", extId);
275-
// eslint-disable-next-line no-fallthrough
276-
case "View":
277274
await vscode.commands.executeCommand("workbench.extensions.search", `@tag:"intersystems"`);
278275
await vscode.commands.executeCommand("extension.open", extId);
276+
await vscode.commands.executeCommand("workbench.extensions.installExtension", extId);
279277
break;
280278
case "Ignore":
281279
config().update("ignoreInstallServerManager", true, vscode.ConfigurationTarget.Global);

0 commit comments

Comments
 (0)