Skip to content

Commit 77a384b

Browse files
committed
fix(cli): adapt format schema check to zod v4
1 parent 1793122 commit 77a384b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/cli/src/lib/yargs-cli.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ function validatePersistFormat(persist: PersistConfig) {
155155
return true;
156156
} catch {
157157
throw new Error(
158-
`Invalid persist.format option. Valid options are: ${Object.values(
159-
formatSchema.Values,
160-
).join(', ')}`,
158+
`Invalid persist.format option. Valid options are: ${formatSchema.options.join(
159+
', ',
160+
)}`,
161161
);
162162
}
163163
}

0 commit comments

Comments
 (0)