Skip to content

Commit 24cf2d5

Browse files
committed
config: fix typo
1 parent 9786abd commit 24cf2d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/config/env.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ const envSchema = z.object({
1515
required_error: "DISCORD_TOKEN was not found, either it or the .env file are missing",
1616
})
1717
.trim()
18-
.min(1, "DISCORD_TOKEN was not of the minimum lenght it is either malformed or incomplete"),
18+
.min(1, "DISCORD_TOKEN was not of the minimum length it is either malformed or incomplete"),
1919
GITHUB_TOKEN: z
2020
.string({
2121
// eslint-disable-next-line camelcase -- Param isn't camelcase
2222
required_error: "GITHUB_TOKEN was not found, either it or the .env file are missing",
2323
})
2424
.trim()
25-
.min(1, "GITHUB_TOKEN was not of the minimum lenght it is either malformed or incomplete")
25+
.min(1, "GITHUB_TOKEN was not of the minimum length it is either malformed or incomplete")
2626
.optional(),
2727
GUILD_ID: z
2828
.string({
2929
// eslint-disable-next-line camelcase -- Param isn't camelcase
3030
required_error: "GUILD_ID was not found, either it or the .env file are missing",
3131
})
3232
.trim()
33-
.min(1, "GUILD_ID was not of the minimum lenght it is either malformed or incomplete"),
33+
.min(1, "GUILD_ID was not of the minimum length it is either malformed or incomplete"),
3434
});
3535

3636
const envParse = envSchema.safeParse({

0 commit comments

Comments
 (0)