add log to figure out if we are writting everything properly

pull/166/head
Edward Romero 2020-06-23 21:00:17 -04:00
parent f5faff30bb
commit a10d0967b5
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ async function writeRegistryToFile(
newContents += `${authString}${os.EOL}${registryString}${os.EOL}${alwaysAuthString}`;
}
console.log(newContents);
fs.writeFileSync(fileLocation, newContents);
core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation);
if (defaultNodeAuthToken !== nodeAuthToken) {