mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-25 23:17:08 -04:00
6
.changeset/stupid-spoons-attend.md
Normal file
6
.changeset/stupid-spoons-attend.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@pnpm/headless": patch
|
||||
"pnpm": patch
|
||||
---
|
||||
|
||||
Don't report dependencies with optional dependencies as being added on repeat install. This was a bug in reporting [#7384](https://github.com/pnpm/pnpm/issues/7384).
|
||||
@@ -343,7 +343,7 @@ export async function headlessInstall (opts: HeadlessOptions): Promise<Installat
|
||||
}
|
||||
const depNodes = Object.values(graph)
|
||||
|
||||
const added = depNodes.length
|
||||
const added = depNodes.filter(({ fetching }) => fetching).length
|
||||
statsLogger.debug({
|
||||
added,
|
||||
prefix: lockfileDir,
|
||||
|
||||
Reference in New Issue
Block a user