Browse Source

Avoids prompt for insiders version

main
Eric Amodio 2 years ago
parent
commit
f8930ca854
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/extension.ts

+ 4
- 2
src/extension.ts View File

@ -122,8 +122,10 @@ export async function activate(context: ExtensionContext): Promise
setTimeout(async () => {
if (cfg.outputLevel !== OutputLevel.Debug) return;
if (await Messages.showDebugLoggingWarningMessage()) {
void executeCommand(Commands.DisableDebugLogging);
if (!container.insiders) {
if (await Messages.showDebugLoggingWarningMessage()) {
void executeCommand(Commands.DisableDebugLogging);
}
}
}, 60000);
}

Loading…
Cancel
Save