Skip to content

Commit f29f07a

Browse files
committed
fix error return on processRecord
1 parent 5562ee2 commit f29f07a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frontend/src/lib/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export function processRecord(
138138
return { ast, error };
139139
}
140140

141-
if (!cfg) return null;
141+
if (!cfg) return { ast };
142142
if (trim) cfg = trimFor(cfg);
143143
if (simplify) cfg = simplifyCFG(cfg, mergeNodeAttrs);
144144

0 commit comments

Comments
 (0)