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

feat: move globbing to deno_config #27

Merged
merged 8 commits into from
Jan 15, 2024

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Jan 13, 2024

This constructs the globs down here and gets rid of PathBuf being used for everything.

p: &str,
) -> Result<PathOrPattern, anyhow::Error> {
if is_glob_pattern(p) {
let p = p.strip_prefix("./").unwrap_or(p);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Real fix for denoland/deno#21922

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this file is moved verbatim from cli/util/glob.rs plus some new tests. Nice!

@dsherret dsherret merged commit 50532cb into denoland:main Jan 15, 2024
3 checks passed
@dsherret dsherret deleted the feat_move_globbing branch January 15, 2024 16:02
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.

2 participants