-
Notifications
You must be signed in to change notification settings - Fork 5.6k
fix(publish): raise diagnostics for triple-slash directives for --dry-run
instead of just publish
#23811
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
fix(publish): raise diagnostics for triple-slash directives for --dry-run
instead of just publish
#23811
Conversation
…y-run` instead of just `publish`
}, | ||
); | ||
pub struct GraphDiagnosticsCollector { | ||
parsed_source_cache: Arc<ParsedSourceCache>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got tired of passing dependencies down through all the functions (very viral) so changed this to use structs with deps that can be injected at a high level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I think we should consider splitting cli/tools/registry/mod.rs
into more modules
Signed-off-by: David Sherret <[email protected]>
Closes #23774