Skip to content

Commit bc5b521

Browse files
committed
no-mistakes(review): apply reviewer inline fixes
1 parent d199122 commit bc5b521

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • server/typescript/packages/cli/src/commands

‎server/typescript/packages/cli/src/commands/gen.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ function refuseImportedPositional(
444444
const allObjects = metadata.objects();
445445
for (const name of entityNames) {
446446
const matches = allObjects.filter((o) => o.name === name);
447-
if (matches.length === 0) continue; // nothing loaded by this name — the runner's own warning covers it
447+
if (matches.length === 0) continue; // nothing loaded by this name — refuseUnknownPositional has already refused it
448448
const allExcludedImports = matches.every((o) => {
449449
const fqn = o.resolutionKey();
450450
return collection.imported(fqn) && !collection.inScope(fqn);

0 commit comments

Comments
 (0)