mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Change GlobDirFilter
fallback to true
(#13882)
## Summary I think `GlobDirFilter::match_directory` should return `true` if it failed to construct a DFA to force a full directory traversal. Returning `false` means that the build backend excludes all files which is unlikely what we want in that situation.
This commit is contained in:
parent
a68fb53c4b
commit
b865f76b78
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ impl GlobDirFilter {
|
|||
/// don't end up including any child.
|
||||
pub fn match_directory(&self, path: &Path) -> bool {
|
||||
let Some(dfa) = &self.dfa else {
|
||||
return false;
|
||||
return true;
|
||||
};
|
||||
|
||||
// Allow the root path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue