Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoo0122 committed Feb 8, 2025
1 parent cbd32b5 commit 5e2b43f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/knip/src/manifest/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,13 @@ const findNearestPnPFile = (startDir: string) => {
pnpStatus.dir = startDir;
pnpStatus.pnpPath = pnpPath;
pnpStatus.enabled = true;

return;
}
// Move up one directory
const parentDir = dirname(currentDir);
if (parentDir === currentDir) {
break; // Reached root
}

currentDir = parentDir;
}
pnpStatus.dir = startDir;
Expand Down

0 comments on commit 5e2b43f

Please sign in to comment.