chore: remove remaining SDK toolchain residue

This commit is contained in:
Tianyi Cui
2026-08-11 16:37:29 +08:00
parent 454e06c8c1
commit 175d252f77
16 changed files with 19 additions and 20 deletions

View File

@@ -68,7 +68,7 @@ function isDriftedPackageReference(ref: string): boolean {
// A missing reference is drift only when a path segment names a live package.
// A leading segment that is itself an existing group directory is explained by
// the group, not by a relocated leaf sharing its name (`client` is both the
// client-modules group and the scaffold leaf), so only later segments count.
// client-modules group and the sdk leaf), so only later segments count.
const segments = ref.split('/').slice(1)
const [group] = segments
const scanned = group !== undefined && segments.length > 1 && existsSync(resolve(root, 'packages', group))