We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a92fd2b commit 46c1a98Copy full SHA for 46c1a98
packages/cursorless-engine/src/processTargets/modifiers/listUtils.ts
@@ -2,7 +2,7 @@ import type { ScopeType } from "@cursorless/common";
2
3
export class OutOfRangeError extends Error {
4
constructor(scopeType: ScopeType, index?: number) {
5
- const numberStr = index != null ? ` #${index + 1} ` : "";
+ const numberStr = index != null ? ` #${index + 1}` : "";
6
super(`Scope '${scopeType.type}'${numberStr} is out of range`);
7
this.name = "OutOfRangeError";
8
}
0 commit comments