mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 09:08:53 +01:00
auto-fixed prefer-const violation
This commit is contained in:
@@ -30,7 +30,7 @@ import { assertNoRpc, poll } from '../utils';
|
||||
});
|
||||
|
||||
suite('Terminal', () => {
|
||||
let disposables: Disposable[] = [];
|
||||
const disposables: Disposable[] = [];
|
||||
|
||||
teardown(async () => {
|
||||
assertNoRpc();
|
||||
@@ -132,7 +132,7 @@ import { assertNoRpc, poll } from '../utils';
|
||||
}));
|
||||
});
|
||||
equal(result, terminal);
|
||||
let pid = await result.processId;
|
||||
const pid = await result.processId;
|
||||
equal(true, pid && pid > 0);
|
||||
await new Promise<void>(r => {
|
||||
disposables.push(window.onDidCloseTerminal(t => {
|
||||
|
||||
Reference in New Issue
Block a user