mirror of
https://github.com/pnpm/pnpm.git
synced 2026-02-15 17:42:31 -05:00
fix: don't read from side-effects cache packages that aren't allowed to be built (#9047)
close #9042
This commit is contained in:
8
.changeset/proud-crabs-own.md
Normal file
8
.changeset/proud-crabs-own.md
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
"@pnpm/headless": patch
|
||||
"@pnpm/build-modules": patch
|
||||
"@pnpm/core": patch
|
||||
"pnpm": patch
|
||||
---
|
||||
|
||||
Don't read a package from side-effects cache if it isn't allowed to be built [#9042](https://github.com/pnpm/pnpm/issues/9042).
|
||||
@@ -395,6 +395,7 @@ async function linkNewPackages (
|
||||
optional: opts.optional,
|
||||
}),
|
||||
linkAllPkgs(opts.storeController, newPkgs, {
|
||||
allowBuild: opts.allowBuild,
|
||||
depGraph,
|
||||
depsStateCache: opts.depsStateCache,
|
||||
disableRelinkLocalDirDeps: opts.disableRelinkLocalDirDeps,
|
||||
|
||||
Reference in New Issue
Block a user