Skip to content

Commit 2b265cc

Browse files
committed
Fix isWorkspaceRoot type in pnpm fix
1 parent 0ea6121 commit 2b265cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/fix/pnpm-fix.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export async function pnpmFix(
167167
options,
168168
) {
169169
const isWorkspaceRoot =
170-
editablePkgJson.path === pkgEnvDetails.editablePkgJson.filename
170+
editablePkgJson.filename === pkgEnvDetails.editablePkgJson.filename
171171
// Get current overrides for revert logic.
172172
const { overrides: oldOverrides } = getOverridesDataPnpm(
173173
pkgEnvDetails,

0 commit comments

Comments
 (0)