Skip to content

Commit ce764c7

Browse files
committed
add log to generate vsix
1 parent 9dd0fd9 commit ce764c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/features/common/shellDetector.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { Terminal } from 'vscode';
33
import { isWindows } from '../../managers/common/utils';
44
import { vscodeShell } from '../../common/vscodeEnv.apis';
55
import { getConfiguration } from '../../common/workspace.apis';
6+
import { traceLog } from '../../common/logging';
67

78
/*
89
When identifying the shell use the following algorithm:
@@ -150,6 +151,7 @@ function fromShellTypeApi(terminal: Terminal): string {
150151

151152
export function identifyTerminalShell(terminal: Terminal): string {
152153
let shellType = fromShellTypeApi(terminal);
154+
traceLog('IdentifyTerminalShell: Shell type from API:', shellType);
153155

154156
if (shellType === 'unknown') {
155157
shellType = identifyShellFromVSC(terminal);

0 commit comments

Comments
 (0)