We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4faf24a commit a489cb8Copy full SHA for a489cb8
src/commands/fix/pnpm-fix.ts
@@ -1,4 +1,3 @@
1
-import fs from 'node:fs/promises'
2
import path from 'node:path'
3
4
import { readWantedLockfile } from '@pnpm/lockfile.fs'
src/commands/optimize/add-overrides.ts
@@ -69,7 +69,7 @@ export async function addOverrides(
69
updated: new Set(),
70
updatedInWorkspaces: new Set(),
71
warnedPnpmWorkspaceRequiresNpm: false,
72
- workspacePkgJsonPaths: await globWorkspace(pkgEnvDetails)
+ workspacePkgJsonPaths: await globWorkspace(agent, rootPath)
73
}
74
} = { __proto__: null, ...options } as AddOverridesOptions
75
const isWorkspace = state.workspacePkgJsonPaths.length > 0
0 commit comments