From 1aead1b478edf2b5092982523855792f46bc12b4 Mon Sep 17 00:00:00 2001 From: hwangsihu Date: Sat, 26 Oct 2024 09:49:53 +0900 Subject: [PATCH] Format --- src/env.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/env.ts b/src/env.ts index 77b431e3a..921c1e7d8 100644 --- a/src/env.ts +++ b/src/env.ts @@ -57,8 +57,8 @@ const envSchema = z.object({ ), NODES: z.preprocess(val => (typeof val === 'string' ? JSON.parse(val) : val), z.array(LavalinkNodeSchema)), GENIUS_API: z.string().optional(), -retryAmount: z.preprocess(val => Number.parseInt(val as string, 10), z.number().optional()), -retryDelay: z.preprocess(val => Number.parseInt(val as string, 10), z.number().optional()), + retryAmount: z.preprocess(val => Number.parseInt(val as string, 10), z.number().optional()), + retryDelay: z.preprocess(val => Number.parseInt(val as string, 10), z.number().optional()), requestSignalTimeoutMS: z.number().optional(), closeOnError: z.boolean().optional(), heartBeatInterval: z.number().optional(), @@ -71,7 +71,7 @@ export const env: Env = envSchema.parse(process.env); for (const key in env) { if (!(key in env)) { - throw new Error("Missing env variable: ${key}\nPlease check your .env file and try again."); + throw new Error('Missing env variable: ${key}\nPlease check your .env file and try again.'); } }