mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 09:21:00 +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}`;
|
newContents += `${authString}${os.EOL}${registryString}${os.EOL}${alwaysAuthString}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log(newContents);
|
||||||
fs.writeFileSync(fileLocation, newContents);
|
fs.writeFileSync(fileLocation, newContents);
|
||||||
core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation);
|
core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation);
|
||||||
if (defaultNodeAuthToken !== nodeAuthToken) {
|
if (defaultNodeAuthToken !== nodeAuthToken) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue