Skip to content

Commit ce3afb2

Browse files
committed
chore: deal with whitespace and trailing semicolon TODO via interpretZodArray #995
1 parent eed8e3d commit ce3afb2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

apps/web/src/features/upload/utils.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ function isZodObjectDef(def: AnyZodTypeDef): def is z.ZodObjectDef {
9090
return def.typeName === z.ZodFirstPartyTypeKind.ZodObject;
9191
}
9292

93-
// TODO - fix extract set and record array functions to handle whitespace and trailing semicolon (present or included)
94-
9593
function extractSetEntry(entry: string) {
9694
const result = /SET\(\s*(.*?)\s*\)/.exec(entry);
9795
if (!result?.[1]) {

0 commit comments

Comments
 (0)