mirror of
https://github.com/actions/setup-node
synced 2025-04-09 18:35:51 +00:00
add log to figure out if we are writting everything properly
This commit is contained in:
parent
f5faff30bb
commit
a10d0967b5
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue