Skip to content

Commit

Permalink
Fixes the resolve shim for liftoff (#6623)
Browse files Browse the repository at this point in the history
* Fixes the resolve shim for liftoff

* Update CHANGELOG.md
  • Loading branch information
arcanis committed Nov 2, 2018
1 parent 4b8e49e commit b62e9e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,10 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa

## Master

- Fixes Gulp when used with Plug'n'Play

[#6623](https://github.com/yarnpkg/yarn/pull/6623) - [**Maël Nison**](https://twitter.com/arcanis)

- Fixes an issue with `yarn audit` when the root package was missing a name

[#6611](https://github.com/yarnpkg/yarn/pull/6611) - [**Jack Zhao**](https://github.com/bugzpodder)
Expand Down
2 changes: 1 addition & 1 deletion src/util/generate-pnp-map-api.tpl.js
Expand Up @@ -748,7 +748,7 @@ exports.setupCompatibilityLayer = () => {
// at all unless modulePath is set, which we cannot configure from any other way than through
// the Liftoff pipeline (the key isn't whitelisted for env or cli options).

patchedModules.set(/^resolve$/, realResolve => {
patchedModules.set('resolve', realResolve => {
const mustBeShimmed = caller => {
const callerLocator = exports.findPackageLocator(caller);

Expand Down

0 comments on commit b62e9e4

Please sign in to comment.