Skip to content

Commit

Permalink
fix(cli): fix env type (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
pluvrt authored Apr 15, 2024
1 parent b1696f3 commit b5edd8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/schemas/ZodPluvConfig.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { z } from "zod";

export const ZodPluvConfig = z.object({
env: z.record(z.string(), z.string()).optional(),
env: z.union([z.record(z.string(), z.string()), z.string()]).optional(),
input: z.string().default("./pluv.ts"),
outDir: z.string().default("./.pluv"),
});

0 comments on commit b5edd8e

Please sign in to comment.