diff --git a/test/lib/next-modes/next-deploy.ts b/test/lib/next-modes/next-deploy.ts index a06c85f51469..8cb141fa4dcd 100644 --- a/test/lib/next-modes/next-deploy.ts +++ b/test/lib/next-modes/next-deploy.ts @@ -76,9 +76,7 @@ export class NextDeployInstance extends NextInstance { if (process.env.VERCEL_CLI_VERSION) { additionalEnv.push('--build-env') - additionalEnv.push( - `VERCEL_CLI_VERSION="${process.env.VERCEL_CLI_VERSION}"` - ) + additionalEnv.push(`VERCEL_CLI_VERSION=${process.env.VERCEL_CLI_VERSION}`) } const deployRes = await execa(