Skip to content

Commit 288fd65

Browse files
committed
fix(objectql): name a package-less contributor plainly in the redeclared-field line
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5nbGTknnd7qupVJNmN
1 parent e367968 commit 288fd65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/objectql/src/registry.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4660,7 +4660,7 @@ export class SchemaRegistry {
46604660
list.push({ packageId, owner: false });
46614661
}
46624662
}
4663-
const named = (packageId: string | undefined) => (packageId ? `"${packageId}"` : 'a contribution with no package');
4663+
const named = (packageId: string | undefined) => (packageId ? `"${packageId}"` : '(no package)');
46644664
for (const [field, list] of declarers) {
46654665
if (list.length < 2) continue;
46664666
const key = `${object}|${field}|${list.map((d) => d.packageId ?? '').join(',')}`;

0 commit comments

Comments
 (0)