Skip to content

Commit

Permalink
Fix invalid link handling in packages mode
Browse files Browse the repository at this point in the history
Resolves #2403
  • Loading branch information
Gerrit0 committed Oct 6, 2023
1 parent 608cf48 commit 2cabd22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

### Bug Fixes

- Invalid link validation is now correctly suppressed before all projects have been converted in packages mode, #2403.
- Fixed tsconfig handling for projects using a solution-style tsconfig, #2406.
- Fixed broken settings icons caused by icon caching introduced in 0.25.1, #2408.

Expand Down
2 changes: 1 addition & 1 deletion src/lib/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,9 +594,9 @@ export class Application extends ChildableComponent<
for (const dir of packageDirs) {
this.logger.info(`Converting project at ${nicePath(dir)}`);
const opts = origOptions.copyForPackage(dir);
await opts.read(this.logger, dir);
// Invalid links should only be reported after everything has been merged.
opts.setValue("validation", { invalidLink: false });
await opts.read(this.logger, dir);
if (
opts.getValue("entryPointStrategy") ===
EntryPointStrategy.Packages
Expand Down

0 comments on commit 2cabd22

Please sign in to comment.