mirror of https://github.com/astral-sh/uv
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
|
|
@ -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…
Reference in New Issue