Skip to content

Commit ff5ec86

Browse files
author
Danny McCormick
authored
Don't export both userconfigs
1 parent f20c85e commit ff5ec86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/authutil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function writeRegistryToFile(registryUrl: string, fileLocation: string) {
4242
: `registry=${registryUrl}`;
4343
newContents += `${registryString}${os.EOL}${authString}`;
4444
fs.writeFileSync(fileLocation, newContents);
45-
core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation);
45+
// core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation);
4646
// Export empty node_auth_token so npm doesn't complain about not being able to find it
4747
// core.exportVariable('NODE_AUTH_TOKEN', 'XXXXX-XXXXX-XXXXX-XXXXX');
4848
}

0 commit comments

Comments
 (0)