diff --git a/src/client/common/terminal/service.ts b/src/client/common/terminal/service.ts index 86885b30aeff..0586a1be2c09 100644 --- a/src/client/common/terminal/service.ts +++ b/src/client/common/terminal/service.ts @@ -92,7 +92,7 @@ export class TerminalService implements ITerminalService, Disposable { if (!terminal.shellIntegration && this._terminalFirstLaunched) { this._terminalFirstLaunched = false; const promise = new Promise((resolve) => { - const disposable = this.terminalManager.onDidChangeTerminalShellIntegration((e) => { + const disposable = this.terminalManager.onDidChangeTerminalShellIntegration(() => { clearTimeout(timer); disposable.dispose(); resolve(true);