From 869ebd91d59c858f0111b9a9ef5895e968cc38a9 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Tue, 6 Aug 2019 14:25:05 -0400 Subject: [PATCH] Remove 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 b270949..ba3b322 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 21c2fcb..d4a44c9 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'); }