mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-28 02:53:15 -04:00
close #6183
This commit is contained in:
6
.changeset/violet-insects-attack.md
Normal file
6
.changeset/violet-insects-attack.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@pnpm/resolve-dependencies": patch
|
||||
"pnpm": patch
|
||||
---
|
||||
|
||||
Fix the incorrect error block when subproject has been patched [#6183](https://github.com/pnpm/pnpm/issues/6183)
|
||||
@@ -120,7 +120,7 @@ export async function resolveDependencies (
|
||||
// We only check whether patches were applied in cases when the whole lockfile was reanalyzed.
|
||||
if (
|
||||
opts.patchedDependencies &&
|
||||
(opts.forceFullResolution || !opts.wantedLockfile.packages?.length) &&
|
||||
(opts.forceFullResolution || !Object.keys(opts.wantedLockfile.packages ?? {})?.length) &&
|
||||
Object.keys(opts.wantedLockfile.importers).length === importers.length
|
||||
) {
|
||||
verifyPatches({
|
||||
|
||||
Reference in New Issue
Block a user