From e6046877f9679641dea61484e6ba4ea62b454591 Mon Sep 17 00:00:00 2001 From: Kartik Raj Date: Wed, 25 Oct 2023 14:33:57 -0700 Subject: [PATCH] Correct condition when logging whether shell integration is active (#22347) Introduced by https://github.com/microsoft/vscode-python/pull/22346 --- src/client/terminals/envCollectionActivation/service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/terminals/envCollectionActivation/service.ts b/src/client/terminals/envCollectionActivation/service.ts index a1dcd86f0d2c..b5ce0e5715be 100644 --- a/src/client/terminals/envCollectionActivation/service.ts +++ b/src/client/terminals/envCollectionActivation/service.ts @@ -357,7 +357,7 @@ export class TerminalEnvVarCollectionService implements IExtensionActivationServ // https://code.visualstudio.com/docs/terminal/shell-integration#_automatic-script-injection return true; } - if (isEnabled) { + if (!isEnabled) { traceVerbose('Shell integrated is disabled in user settings.'); } return false;