From d157c73da628a2875001b5d1e8d52d5e1f6a3774 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Tue, 6 Aug 2019 14:17:51 -0400 Subject: [PATCH] Try just adding auth token --- lib/authutil.js | 2 +- src/authutil.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/authutil.js b/lib/authutil.js index ba3b322..b270949 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 d4a44c9..21c2fcb 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'); }