mirror of
https://github.com/actions/setup-node.git
synced 2025-04-21 02:19:22 +08:00
add build from previous commit
This commit is contained in:
parent
a10d0967b5
commit
e64e8b870d
1
dist/index.js
vendored
1
dist/index.js
vendored
@ -4783,6 +4783,7 @@ function writeRegistryToFile(registryUrl, fileLocation, alwaysAuth) {
|
||||
else {
|
||||
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…
x
Reference in New Issue
Block a user