Skip to content

Commit

Permalink
fix: traverse symbol link
Browse files Browse the repository at this point in the history
  • Loading branch information
Plumbiu committed Feb 28, 2024
1 parent 579e8b3 commit a1f1d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/relations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export async function genRelations() {
await Promise.all(
dirs.map(async (dir) => {
const pkgPath = path.join(p, dir.name)
if (dir.name === '.bin' || !dir.isDirectory()) {
if (dir.name === '.bin' || dir.isFile()) {
return
}
const filePath = path.join(pkgPath, 'package.json')
Expand Down

0 comments on commit a1f1d9d

Please sign in to comment.