Use const instead of let

This commit is contained in:
Jonas Schievink 2021-03-27 19:02:08 +01:00
parent b494e47920
commit e6580aa380

View file

@ -29,7 +29,7 @@ async function editorFromUri(uri: vscode.Uri): Promise<vscode.TextEditor | undef
}
export async function applySnippetTextEdits(editor: vscode.TextEditor, edits: vscode.TextEdit[]) {
let selections: vscode.Selection[] = [];
const selections: vscode.Selection[] = [];
let lineDelta = 0;
await editor.edit((builder) => {
for (const indel of edits) {