diff --git a/lib/authutil.js b/lib/authutil.js index ba3b3226..b2709495 100644 --- a/lib/authutil.js +++ b/lib/authutil.js @@ -52,5 +52,5 @@ function writeRegistryToFile(registryUrl, fileLocation) { fs.writeFileSync(fileLocation, newContents); // core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation); // Export empty node_auth_token so npm doesn't complain about not being able to find it - // core.exportVariable('NODE_AUTH_TOKEN', 'XXXXX-XXXXX-XXXXX-XXXXX'); + core.exportVariable('NODE_AUTH_TOKEN', 'XXXXX-XXXXX-XXXXX-XXXXX'); } diff --git a/src/authutil.ts b/src/authutil.ts index d4a44c91..21c2fcba 100644 --- a/src/authutil.ts +++ b/src/authutil.ts @@ -47,5 +47,5 @@ function writeRegistryToFile(registryUrl: string, fileLocation: string) { fs.writeFileSync(fileLocation, newContents); // core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation); // Export empty node_auth_token so npm doesn't complain about not being able to find it - // core.exportVariable('NODE_AUTH_TOKEN', 'XXXXX-XXXXX-XXXXX-XXXXX'); + core.exportVariable('NODE_AUTH_TOKEN', 'XXXXX-XXXXX-XXXXX-XXXXX'); }