Unverified Commit 960437cf authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Always set adapter deploy env variable (#90064)

This ensures we always set this env variable so that it overrides any
flag opt ins when we specifically want to test with or without the
adapter.
parent 6144980c
...@@ -320,6 +320,8 @@ export class NextDeployInstance extends NextInstance { ...@@ -320,6 +320,8 @@ export class NextDeployInstance extends NextInstance {
} }
if (process.env.NEXT_ENABLE_ADAPTER) { if (process.env.NEXT_ENABLE_ADAPTER) {
additionalEnv.push(`NEXT_ENABLE_ADAPTER=1`) additionalEnv.push(`NEXT_ENABLE_ADAPTER=1`)
} else {
additionalEnv.push(`NEXT_ENABLE_ADAPTER=0`)
} }
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