mirror of
https://github.com/actions/setup-node
synced 2025-04-19 22:53:12 +00:00
add log to figure out if we are writting everything properly
This commit is contained in:
parent
f5faff30bb
commit
a10d0967b5
@ -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…
Reference in New Issue
Block a user