Skip to content

Commit

Permalink
why is lint failing
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykim1 committed Aug 16, 2024
1 parent 4e69924 commit 6d1be18
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/client/terminals/codeExecution/terminalReplWatcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import { EventName } from '../../telemetry/constants';

function checkREPLCommand(command: string): boolean {
const lower = command.toLowerCase().trimStart();
return (
lower.startsWith('python') || lower.startsWith('py') || lower.startsWith('python ') || lower.startsWith('py ')
);
return lower.startsWith('python') || lower.startsWith('py');
}

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

0 comments on commit 6d1be18

Please sign in to comment.