mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
auto-fixed prefer-const violation
This commit is contained in:
@@ -14,7 +14,7 @@ export const joinLines = (...args: string[]) =>
|
||||
export const CURSOR = '$$CURSOR$$';
|
||||
|
||||
export function getCursorPositions(contents: string, doc: InMemoryDocument): vscode.Position[] {
|
||||
let positions: vscode.Position[] = [];
|
||||
const positions: vscode.Position[] = [];
|
||||
let index = 0;
|
||||
let wordLength = 0;
|
||||
while (index !== -1) {
|
||||
|
||||
Reference in New Issue
Block a user