Skip to content

Commit 697f209

Browse files
committed
fix: splitting env in config
1 parent 41329b0 commit 697f209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { z } from "zod";
55

66
const stringArrayLike = z
77
.union([z.string(), z.array(z.string())])
8-
.transform(v => (typeof v === "string" ? [v] : v));
8+
.transform(v => (typeof v === "string" ? v.split(",") : v));
99

1010
const booleanLike = z
1111
.any()

0 commit comments

Comments
 (0)