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;