Skip to content

Commit 027bc7f

Browse files
committed
docs(cli): name where a duplicate package id is refused in flatDocsOwner's docblock
Claude-Session: https://claude.ai/code/session_01BmsuLyUeuG5CNpZFMH1jzS Co-authored-by: Claude <noreply@anthropic.com>
1 parent 925e074 commit 027bc7f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/cli/src/utils/collect-docs.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,8 @@ export function attachPackageDocs(packages: unknown, sets: readonly PackageDocSe
14271427
* whose manifest fields, `namespace` included, are the artifact manifest's.
14281428
*
14291429
* ⛔ No guess. No `manifest.id`, no entry carrying it, or MORE than one entry
1430-
* carrying it — `os build` does not refuse a duplicate id, the boot does —
1430+
* carrying it — this collector has no duplicate-id refusal of its own; the
1431+
* boot's is `resolveArtifactPackageOrder`'s `DUPLICATE_ARTIFACT_PACKAGE` —
14311432
* answers `undefined`, and the flat docs keep the top-level position they have
14321433
* always had. The entry's id is read through {@link docsPackageRefs}, which
14331434
* reads `artifactPackages`; ⛔ it is not re-derived here.

0 commit comments

Comments
 (0)