Skip to content

Commit e604687

Browse files
author
Kartik Raj
authored
Correct condition when logging whether shell integration is active (#22347)
Introduced by #22346
1 parent b46e1a6 commit e604687

File tree

1 file changed

+1
-1
lines changed
  • src/client/terminals/envCollectionActivation

1 file changed

+1
-1
lines changed

src/client/terminals/envCollectionActivation/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ export class TerminalEnvVarCollectionService implements IExtensionActivationServ
357357
// https://code.visualstudio.com/docs/terminal/shell-integration#_automatic-script-injection
358358
return true;
359359
}
360-
if (isEnabled) {
360+
if (!isEnabled) {
361361
traceVerbose('Shell integrated is disabled in user settings.');
362362
}
363363
return false;

0 commit comments

Comments
 (0)