Skip to content

Commit

Permalink
squash!
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Oct 14, 2023
1 parent 56310e8 commit b73f4f9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Source/Library/Environment.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { config } from "dotenv";
import { z } from "zod";
(await import("dotenv")).config();

config();

export default z
export default Zod.z
.object({
Token: z.string().default(""),
Token: Zod.z.string().default(""),
})
.parse(process.env);

export const { default: Zod } = await import("zod");

0 comments on commit b73f4f9

Please sign in to comment.