WIP oops actually use processEnv

This commit is contained in:
Gregor Martynus 2021-01-20 12:46:26 -08:00
parent fd5b64a99a
commit 1c85b88c9f

View File

@ -64,7 +64,7 @@ const {
// Environment variables used only for the local npm command used to do verification // Environment variables used only for the local npm command used to do verification
const testEnv = { const testEnv = {
...process.env, ...processEnv,
...npmRegistry.authEnv, ...npmRegistry.authEnv,
npm_config_registry: npmRegistry.url, npm_config_registry: npmRegistry.url,
LEGACY_TOKEN: Buffer.from(`${env.NPM_USERNAME}:${env.NPM_PASSWORD}`, 'utf8').toString('base64'), LEGACY_TOKEN: Buffer.from(`${env.NPM_USERNAME}:${env.NPM_PASSWORD}`, 'utf8').toString('base64'),