From a1f1d9d4b7b95236e3db5c532ab6e4a552a1bc19 Mon Sep 17 00:00:00 2001 From: Plumbiu <3434909403@qq.com> Date: Wed, 28 Feb 2024 11:30:54 +0800 Subject: [PATCH] fix: traverse symbol link --- packages/core/src/relations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/relations.ts b/packages/core/src/relations.ts index b5ad6ace..e8b6c86c 100644 --- a/packages/core/src/relations.ts +++ b/packages/core/src/relations.ts @@ -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')