Skip to content

Commit

Permalink
remove weird auth check
Browse files Browse the repository at this point in the history
  • Loading branch information
sandorfr committed Oct 9, 2017
1 parent 45f959a commit 6f98b8b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Tasks/Yarn/yarnTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,8 @@ async function yarnExec() {
}

for (let registry of npmRegistries) {
if (registry.authOnly === false) {
tl.debug("Using registry: " + registry.url);
util.appendToNpmrc(npmrc, `registry=${registry.url}\n`);
}
tl.debug("Using registry: " + registry.url);
util.appendToNpmrc(npmrc, `registry=${registry.url}\n`);
tl.debug("Adding auth for registry: " + registry.url);
util.appendToNpmrc(npmrc, `${registry.auth}\n`);
if (registry.url.indexOf(".visualstudio.com") >= 0) {
Expand Down

0 comments on commit 6f98b8b

Please sign in to comment.