Fix glob() pattern
This commit is contained in:
parent
eab439f96c
commit
42289a085e
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ impl Store {
|
||||||
path.to_str()
|
path.to_str()
|
||||||
.ok_or(SE::new(SEK::EncodingError, None))
|
.ok_or(SE::new(SEK::EncodingError, None))
|
||||||
.and_then(|path| {
|
.and_then(|path| {
|
||||||
let path = [ path, "/*" ].join("");
|
let path = [ path, "/**/*" ].join("");
|
||||||
debug!("glob()ing with '{}'", path);
|
debug!("glob()ing with '{}'", path);
|
||||||
glob(&path[..]).map_err(|e| SE::new(SEK::GlobError, Some(Box::new(e))))
|
glob(&path[..]).map_err(|e| SE::new(SEK::GlobError, Some(Box::new(e))))
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue