We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53b8394 commit 57acfe8Copy full SHA for 57acfe8
1 file changed
src/authutil.ts
@@ -43,7 +43,7 @@ function writeRegistryToFile(registryUrl: string, fileLocation: string) {
43
const authString: string =
44
registryUrl.replace(/(^\w+:|^)/, '') + ':_authToken=${NODE_AUTH_TOKEN}';
45
const registryString = `${scope}registry=${registryUrl}`;
46
- newContents += `${authString}${os.EOL}${registryString}`;
+ newContents += `${authString}${os.EOL}${registryString}${os.EOL}`;
47
fs.writeFileSync(fileLocation, newContents);
48
core.exportVariable('NPM_CONFIG_USERCONFIG', fileLocation);
49
// Export empty node_auth_token if didn't exist so npm doesn't complain about not being able to find it
0 commit comments