From e784eea6bdf4a7b321755662be54ebe7383b1a8a Mon Sep 17 00:00:00 2001 From: sushruth Date: Tue, 30 Nov 2021 16:14:44 -0800 Subject: [PATCH] Removing npmRegistries section --- packages/ado-auth/src/lib/readConfig.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/ado-auth/src/lib/readConfig.ts b/packages/ado-auth/src/lib/readConfig.ts index 8d94345..bb781ce 100644 --- a/packages/ado-auth/src/lib/readConfig.ts +++ b/packages/ado-auth/src/lib/readConfig.ts @@ -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) )