-
Notifications
You must be signed in to change notification settings - Fork 124
Running with --dry-run masks warnings from --validate-links #3330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Good catch. That combo of flags should not be allowed. |
Would you mind filing a separate issue for this? Thanks! |
Why not? My use case is checking that there's no documentation issues as part of CI. I'd like to include warnings caught by Speaking of, these other issues are relevant for this use case as well:
Sure, filed here: #3331 |
The |
Ah, ok, thanks for clarifying. I guess my real "feature request" is to make it really easy to use Ignoring/deleting the |
Bug: dart-lang/dartdoc#3330 Change-Id: I6a40317c6bab90aa4126b92dbe1a852e3f946b29 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/282811 Commit-Queue: Janice Collins <[email protected]> Reviewed-by: Samuel Rawlins <[email protected]>
https://dart-review.googlesource.com/c/sdk/+/282811 should prevent users from using both flags at once under this circumstance. |
@jcollins-g given this is technically a small breaking change (CI jobs that used to pass both flags will break), I think we should mention this in the CHANGELOG.md file |
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:
The text was updated successfully, but these errors were encountered: