Skip to content

Commit 1435329

Browse files
committed
remove unnecessary comment
1 parent 446e95c commit 1435329

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/client/common/terminal/service.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class TerminalService implements ITerminalService, Disposable {
8585
this._terminalFirstLaunched = false;
8686
const promise = new Promise<boolean>((resolve) => {
8787
const disposable = this.terminalManager.onDidChangeTerminalShellIntegration(() => {
88-
clearTimeout(timer); //racetimeout
88+
clearTimeout(timer);
8989
disposable.dispose();
9090
resolve(true);
9191
});
@@ -99,8 +99,6 @@ export class TerminalService implements ITerminalService, Disposable {
9999
}
100100

101101
if (terminal.shellIntegration) {
102-
// TODO: executeCommand would not execute command manually typed inside Python Terminal REPL.
103-
// We only run executeCommand when user shift+enter in .py file, and hence run command in terminal on user's behalf.
104102
const execution = terminal.shellIntegration.executeCommand(commandLine);
105103
traceVerbose(`Shell Integration is enabled, executeCommand: ${commandLine}`);
106104
return execution;

0 commit comments

Comments
 (0)