Skip to content

Commit 11b89a4

Browse files
Clean up
1 parent 492a74b commit 11b89a4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

cursorless-everywhere-talon/cursorless_everywhere_talon_browser.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,12 @@ def cursorless_everywhere_edit_text(
6565
def cursorless_everywhere_flash_ranges(
6666
ranges: list[RangeOffsets], # pyright: ignore [reportGeneralTypeIssues]
6767
):
68-
updated = [
69-
js_object_to_python_dict(r, ["start", "end"])
70-
for r in js_array_to_python_list(ranges)
71-
]
7268
command = {
7369
"id": "flashRanges",
74-
"ranges": updated,
70+
"ranges": [
71+
js_object_to_python_dict(r, ["start", "end"])
72+
for r in js_array_to_python_list(ranges)
73+
],
7574
}
7675
rpc(command)
7776

0 commit comments

Comments
 (0)