Unverified Commit 5e5d56c1 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix passing VERCEL_CLI_VERSION env for deploy tests (#39946)

The quotes around the env were being passed literally breaking usage of the env variable so this removes them. 

x-ref: [slack thread](https://vercel.slack.com/archives/C02K2HCH5V4/p1661417510950809?thread_ts=1659529028.137779&cid=C02K2HCH5V4)
parent 434a8699
...@@ -76,9 +76,7 @@ export class NextDeployInstance extends NextInstance { ...@@ -76,9 +76,7 @@ export class NextDeployInstance extends NextInstance {
if (process.env.VERCEL_CLI_VERSION) { if (process.env.VERCEL_CLI_VERSION) {
additionalEnv.push('--build-env') additionalEnv.push('--build-env')
additionalEnv.push( additionalEnv.push(`VERCEL_CLI_VERSION=${process.env.VERCEL_CLI_VERSION}`)
`VERCEL_CLI_VERSION="${process.env.VERCEL_CLI_VERSION}"`
)
} }
const deployRes = await execa( const deployRes = await execa(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment