Skip to content
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

Merged
merged 6 commits into from
May 28, 2024

Conversation

dsherret
Copy link
Member

Closes #23774

},
);
pub struct GraphDiagnosticsCollector {
parsed_source_cache: Arc<ParsedSourceCache>,
Copy link
Member Author

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.

@dsherret dsherret added this to the 1.44 milestone May 27, 2024
Copy link
Member

@bartlomieju bartlomieju left a 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

cli/tools/registry/graph.rs Outdated Show resolved Hide resolved
cli/tools/registry/mod.rs Show resolved Hide resolved
cli/tools/registry/mod.rs Show resolved Hide resolved
cli/tools/registry/graph.rs Outdated Show resolved Hide resolved
@dsherret dsherret enabled auto-merge (squash) May 28, 2024 01:10
@dsherret dsherret merged commit c4211e2 into denoland:main May 28, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deno publish --dry-run does not fail on triple-slash directives, while deno publish does.
2 participants