Skip to content

Commit

Permalink
Add dist
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame committed Dec 2, 2022
1 parent 03b36f3 commit f3991d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/setup/index.js
Expand Up @@ -72953,7 +72953,7 @@ function writeRegistryToFile(registryUrl, fileLocation, alwaysAuth) {
const curContents = fs.readFileSync(fileLocation, 'utf8');
curContents.split(os.EOL).forEach((line) => {
// Add current contents unless they are setting the registry
if (!line.toLowerCase().startsWith('registry')) {
if (!line.toLowerCase().startsWith(`${scope}:registry`)) {
newContents += line + os.EOL;
}
});
Expand Down

0 comments on commit f3991d8

Please sign in to comment.