mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Use destructre
This commit is contained in:
@@ -81,9 +81,7 @@ class SyncedBuffer {
|
||||
return;
|
||||
}
|
||||
|
||||
for (const event of events) {
|
||||
const range = event.range;
|
||||
const text = event.text;
|
||||
for (const { range, text } of events) {
|
||||
const args: Proto.ChangeRequestArgs = {
|
||||
file: filePath,
|
||||
line: range.start.line + 1,
|
||||
|
||||
Reference in New Issue
Block a user