Skip to content

Commit

Permalink
Removing npmRegistries section
Browse files Browse the repository at this point in the history
  • Loading branch information
sushruth committed Dec 1, 2021
1 parent fffb232 commit e784eea
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/ado-auth/src/lib/readConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,8 @@ function getScopeRegistries(tool: Tool) {

return registries
} else if (tool === 'yarn2') {
const npmRegistries = JSON.parse(
execSync('yarn config get npmRegistries --json', execParams)
)

const registries: string[] = []

for (const entry in npmRegistries) {
registries.push(replaceHttps(entry))
}

const npmScopes = JSON.parse(
execSync('yarn config get npmScopes --json', execParams)
)
Expand Down

0 comments on commit e784eea

Please sign in to comment.