From 1ee6283862024955cff2f1ae79873ced91b12436 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Thu, 25 Aug 2022 13:33:34 -0500 Subject: [PATCH] Fix passing VERCEL_CLI_VERSION env for deploy tests --- test/lib/next-modes/next-deploy.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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(