Skip to content

Commit

Permalink
Applies fixes from #2664
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanis committed May 3, 2021
1 parent b6068ac commit f29676e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
17 changes: 16 additions & 1 deletion .yarn/versions/c743d681.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
releases:
"@yarnpkg/cli": minor
"@yarnpkg/plugin-npm": minor

declined:
- "@yarnpkg/plugin-compat"
- "@yarnpkg/plugin-constraints"
- "@yarnpkg/plugin-dlx"
- "@yarnpkg/plugin-essentials"
- "@yarnpkg/plugin-init"
- "@yarnpkg/plugin-interactive-tools"
- "@yarnpkg/plugin-node-modules"
- "@yarnpkg/plugin-npm-cli"
- "@yarnpkg/cli"
- "@yarnpkg/plugin-pack"
- "@yarnpkg/plugin-patch"
- "@yarnpkg/plugin-pnp"
- "@yarnpkg/plugin-stage"
- "@yarnpkg/plugin-typescript"
- "@yarnpkg/plugin-version"
- "@yarnpkg/plugin-workspace-tools"
- "@yarnpkg/builder"
- "@yarnpkg/core"
- "@yarnpkg/doctor"
1 change: 0 additions & 1 deletion packages/plugin-npm/sources/npmHttpUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ async function getAuthenticationHeader(registry: string, {authType = AuthType.CO
if (header)
return header;


if (effectiveConfiguration.get(`npmAuthToken`))
return `Bearer ${effectiveConfiguration.get(`npmAuthToken`)}`;
if (effectiveConfiguration.get(`npmAuthIdent`))
Expand Down

0 comments on commit f29676e

Please sign in to comment.