mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-16 22:14:20 -05:00
Use const instead of let for loop
This commit is contained in:
@@ -43,7 +43,7 @@ export function activate(
|
||||
return false;
|
||||
}
|
||||
const openListener = vscode.workspace.onDidOpenTextDocument(didOpenTextDocument, undefined, context.subscriptions);
|
||||
for (let textDocument of vscode.workspace.textDocuments) {
|
||||
for (const textDocument of vscode.workspace.textDocuments) {
|
||||
if (didOpenTextDocument(textDocument)) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user