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 54f1deb commit ba01024
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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");
3 changes: 2 additions & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ export default (await import("astro/config")).defineConfig({
sourcemap: true,
},
},
});
// biome-ignore lint/suspicious/noExplicitAny:
}) as any;

0 comments on commit ba01024

Please sign in to comment.