Skip to content

Commit f89a071

Browse files
Update src/client/terminals/codeExecution/terminalReplWatcher.ts
Co-authored-by: Karthik Nadig <[email protected]>
1 parent aaedcd6 commit f89a071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/terminals/codeExecution/terminalReplWatcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function checkREPLCommand(command: string): boolean {
77
const lower = command.toLowerCase();
88
// Cover cases for 'py', 'py -3' and 'py -3.x'.
99
const replCommandRegex = /^py(?:\s-3(?:\.\d)?)?$/;
10-
return lower.startsWith('python') || lower.startsWith('python3') || replCommandRegex.test(command);
10+
return lower.startsWith('python') || replCommandRegex.test(command);
1111
}
1212

1313
export function registerTriggerForTerminalREPL(disposables: Disposable[]): void {

0 commit comments

Comments
 (0)