File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -340,9 +340,13 @@ function getValue<T>(expr: ExpressionT<T>) {
340340
341341export function extractModel ( block : ModelBlock ) : string {
342342 return match ( block )
343- . with ( { model : P . _ } , ( block ) => stringify ( getValue ( block . model ) ) )
344- . with ( { processor : { model : P . _ } } , ( block ) => stringify ( getValue ( block . processor . model ) ) )
345- . with ( { processor : { type : P . _ } } , ( block ) => stringify ( getValue ( block . processor . type ) ) )
346- . with ( { processor : P . _ } , ( block ) => stringify ( getValue ( block . processor ) ) )
347- . exhaustive ( )
343+ . with ( { model : P . _ } , ( block ) => stringify ( getValue ( block . model ) ) )
344+ . with ( { processor : { model : P . _ } } , ( block ) =>
345+ stringify ( getValue ( block . processor . model ) ) ,
346+ )
347+ . with ( { processor : { type : P . _ } } , ( block ) =>
348+ stringify ( getValue ( block . processor . type ) ) ,
349+ )
350+ . with ( { processor : P . _ } , ( block ) => stringify ( getValue ( block . processor ) ) )
351+ . exhaustive ( )
348352}
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export function map_block_children(
109109 parameters,
110110 }
111111 } )
112- . with ( { kind : "model" , } , ( block ) => {
112+ . with ( { kind : "model" } , ( block ) => {
113113 const input = block . input ? f_block ( block . input ) : undefined
114114 const parameters = block . parameters ? f_expr ( block . parameters ) : undefined
115115 return {
You can’t perform that action at this time.
0 commit comments