Unverified Commit 1d9fd6a5 authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Adjust Create Next App install env (#8431)

parent 718e5771
......@@ -36,7 +36,10 @@ export function install(
].filter(Boolean) as string[]).concat(dependencies || [])
}
const child = spawn(command, args, { stdio: 'inherit' })
const child = spawn(command, args, {
stdio: 'inherit',
env: { ...process.env, ADBLOCK: '1', DISABLE_OPENCOLLECTIVE: '1' },
})
child.on('close', code => {
if (code !== 0) {
reject({ command: `${command} ${args.join(' ')}` })
......
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