Skip to content

Commit 972a188

Browse files
format
1 parent 38f51fd commit 972a188

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

  • packages/cursorless-engine/src/actions

packages/cursorless-engine/src/actions/Clear.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,10 @@ export default class Clear implements SimpleAction {
2929
const { thatTargets } = await this.actions.remove.run(plainTargets);
3030

3131
if (thatTargets != null) {
32-
await this.ide
33-
.getEditableTextEditor(editor)
34-
.setSelections(
35-
thatTargets.map(({ contentSelection }) => contentSelection),
36-
{ focusEditor: true },
37-
);
32+
await this.ide.getEditableTextEditor(editor).setSelections(
33+
thatTargets.map(({ contentSelection }) => contentSelection),
34+
{ focusEditor: true },
35+
);
3836
}
3937

4038
return { thatTargets };

0 commit comments

Comments
 (0)