Skip to content

Commit e6580aa

Browse files
Use const instead of let
1 parent b494e47 commit e6580aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/src/snippets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async function editorFromUri(uri: vscode.Uri): Promise<vscode.TextEditor | undef
2929
}
3030

3131
export async function applySnippetTextEdits(editor: vscode.TextEditor, edits: vscode.TextEdit[]) {
32-
let selections: vscode.Selection[] = [];
32+
const selections: vscode.Selection[] = [];
3333
let lineDelta = 0;
3434
await editor.edit((builder) => {
3535
for (const indel of edits) {

0 commit comments

Comments
 (0)