Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa

## Master

- Environment variables now have to **start** with `YARN_` (instead of just contain it) to be considered

[#6518](https://github.com/yarnpkg/yarn/pull/6518) - [**Michael Gmelin**](https://blog.grem.de)

- Fixes the `extensions` option when used by `resolveRequest`

[#6479](https://github.com/yarnpkg/yarn/pull/6479) - [**Maël Nison**](https://twitter.com/arcanis)
Expand Down
2 changes: 1 addition & 1 deletion src/registries/base-registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default class BaseRegistry {
let key = envKey.toLowerCase();

// only accept keys prefixed with the prefix
if (key.indexOf(prefix.toLowerCase()) < 0) {
if (key.indexOf(prefix.toLowerCase()) !== 0) {
continue;
}

Expand Down