diff --git a/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/ConditionalScopeHandler.ts b/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/ConditionalScopeHandler.ts index 97b5e5e447..139f749626 100644 --- a/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/ConditionalScopeHandler.ts +++ b/packages/cursorless-engine/src/processTargets/modifiers/scopeHandlers/ConditionalScopeHandler.ts @@ -39,7 +39,7 @@ export class ConditionalScopeHandler extends BaseScopeHandler { hints: ScopeIteratorRequirements, ): Iterable { const scopeHandler = this.scopeHandlerFactory.create( - this.conditionalScopeType, + this.conditionalScopeType.scopeType, this.languageId, );