Skip to content

Commit 85e6b0d

Browse files
committed
fix(internal): 🐛 Coerce git PR ID env to a number
1 parent 5fec98e commit 85e6b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/env.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const env = createEnv({
3737
DISCORD_CLIENT_ID: optionalInDev(z.string()),
3838
DISCORD_CLIENT_SECRET: optionalInDev(z.string()),
3939
VERCEL_GIT_COMMIT_REF: z.string().optional(),
40-
VERCEL_GIT_PULL_REQUEST_ID: z.number().int().optional(),
40+
VERCEL_GIT_PULL_REQUEST_ID: z.coerce.number().int().optional(),
4141
},
4242

4343
/**

0 commit comments

Comments
 (0)