globset: improve debug log
This shows the regex that the glob was compiled to.
This commit is contained in:
@@ -503,7 +503,11 @@ impl GlobSet {
|
|||||||
required_exts.add(i, ext, p.regex().to_owned());
|
required_exts.add(i, ext, p.regex().to_owned());
|
||||||
}
|
}
|
||||||
MatchStrategy::Regex => {
|
MatchStrategy::Regex => {
|
||||||
debug!("glob converted to regex: {:?}", p);
|
debug!(
|
||||||
|
"glob `{:?}` converted to regex: `{:?}`",
|
||||||
|
p,
|
||||||
|
p.regex()
|
||||||
|
);
|
||||||
regexes.add(i, p.regex().to_owned());
|
regexes.add(i, p.regex().to_owned());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user