Skip to content

Commit ea9eacc

Browse files
authored
Merge branch 'main' into generate-examples
2 parents 6e3c9cd + a9e37f6 commit ea9eacc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/cursorless-engine/src/core/updateSelections/updateSelections.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -382,12 +382,10 @@ export async function performEditsAndUpdateFullSelectionInfos(
382382
}
383383
};
384384

385-
await callFunctionAndUpdateSelectionInfos(
385+
return await callFunctionAndUpdateSelectionInfos(
386386
rangeUpdater,
387387
func,
388388
editor.document,
389389
originalSelectionInfos,
390390
);
391-
392-
return selectionInfosToSelections(originalSelectionInfos);
393391
}

0 commit comments

Comments
 (0)