Skip to content

Running with --dry-run masks warnings from --validate-links #3330

Closed
@mkorbel1

Description

@mkorbel1

Running dart doc --validate-links --dry-run when warnings related to --validate-links are present will mask those warnings. They are only visible if --dry-run is omitted.

Additionally, I can't get any of the --validate-links warnings to print out, just the count of the number of warnings, which is pretty frustrating to debug. I'm not sure if the two are related.

Running on Dart version 2.19.2:

$ dart --version
Dart SDK version: 2.19.2 (stable) (Unknown timestamp) on "linux_x64"

Metadata

Metadata

Assignees

Labels

P3A lower priority bug or feature requesttype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions