We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d460e6 commit 7421836Copy full SHA for 7421836
cli/src/main.rs
@@ -339,7 +339,9 @@ fn collect_paths<'a>(paths: impl Iterator<Item = &'a str>) -> error::Result<Vec<
339
if Path::new(path).exists() {
340
incorporate_path(path, positive);
341
} else {
342
- for path in glob(path)? {
+ let paths =
343
+ glob(path).map_err(Error::wrap(|| format!("Invalid glob pattern {:?}", path)))?;
344
+ for path in paths {
345
if let Some(path) = path?.to_str() {
346
347
}
0 commit comments