File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
packages/cursorless-engine/src Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ export class CommandRunnerImpl implements CommandRunner {
213213 const action = this . actions [ actionDescriptor . name ] ;
214214
215215 // Ensure we don't miss any new actions. Needed because we don't have input validation.
216+ // FIXME: remove once we have schema validation (#983)
216217 if ( action == null ) {
217218 throw new Error ( `Unknown action: ${ actionDescriptor . name } ` ) ;
218219 }
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ export class MarkStageFactoryImpl implements MarkStageFactory {
4949 return new ExplicitMarkStage ( mark ) ;
5050 default : {
5151 // Ensure we don't miss any new marks. Needed because we don't have input validation.
52+ // FIXME: remove once we have schema validation (#983)
5253 const _exhaustiveCheck : never = mark ;
5354 const { type } = mark ;
5455 throw new Error ( `Unknown mark: ${ type } ` ) ;
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ export class ModifierStageFactoryImpl implements ModifierStageFactory {
111111 ) ;
112112 default : {
113113 // Ensure we don't miss any new modifiers. Needed because we don't have input validation.
114+ // FIXME: remove once we have schema validation (#983)
114115 const _exhaustiveCheck : never = modifier ;
115116 const { type } = modifier ;
116117 throw new Error ( `Unknown modifier: ${ type } ` ) ;
You can’t perform that action at this time.
0 commit comments