From ff5ec869e52eccc5195f2c0adfb6138ef29cb2b3 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Tue, 6 Aug 2019 11:52:15 -0400 Subject: [PATCH] Don't export both userconfigs --- src/authutil.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authutil.ts b/src/authutil.ts index d5f87553..d95c2fe8 100644 --- a/src/authutil.ts +++ b/src/authutil.ts @@ -42,7 +42,7 @@ function writeRegistryToFile(registryUrl: string, fileLocation: string) { : `registry=${registryUrl}`; newContents += `${registryString}${os.EOL}${authString}`; fs.writeFileSync(fileLocation, newContents); - core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation); +// 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'); }