File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,22 +15,22 @@ const envSchema = z.object({
15
15
required_error : "DISCORD_TOKEN was not found, either it or the .env file are missing" ,
16
16
} )
17
17
. 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" ) ,
19
19
GITHUB_TOKEN : z
20
20
. string ( {
21
21
// eslint-disable-next-line camelcase -- Param isn't camelcase
22
22
required_error : "GITHUB_TOKEN was not found, either it or the .env file are missing" ,
23
23
} )
24
24
. 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" )
26
26
. optional ( ) ,
27
27
GUILD_ID : z
28
28
. string ( {
29
29
// eslint-disable-next-line camelcase -- Param isn't camelcase
30
30
required_error : "GUILD_ID was not found, either it or the .env file are missing" ,
31
31
} )
32
32
. 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" ) ,
34
34
} ) ;
35
35
36
36
const envParse = envSchema . safeParse ( {
You can’t perform that action at this time.
0 commit comments