We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e125c6 commit c72c256Copy full SHA for c72c256
1 file changed
client/src/commands.ts
@@ -340,13 +340,16 @@ function showWelcomePageIfFirstUse(
340
context: vscode.ExtensionContext,
341
extensionContext: DenoExtensionContext,
342
) {
343
+ if (process.env.DENO_DISABLE_WELCOME_PAGE != null) {
344
+ return;
345
+ }
346
const welcomeShown = context.globalState.get<boolean>("deno.welcomeShown") ??
347
false;
-
- if (!welcomeShown) {
- welcome(context, extensionContext)();
348
- context.globalState.update("deno.welcomeShown", true);
+ if (welcomeShown) {
349
350
}
351
+ welcome(context, extensionContext)();
352
+ context.globalState.update("deno.welcomeShown", true);
353
354
355
export function showReferences(
0 commit comments