single-threaded
This commit is contained in:
parent
10c34c7827
commit
92660a4c27
@ -33,7 +33,7 @@ fn main() -> eyre::Result<()> {
|
||||
.into_iter()
|
||||
.filter_map(|e| e.ok())
|
||||
{
|
||||
let metadata = entry.metadata()?;
|
||||
if let Ok(metadata) = entry.metadata() {
|
||||
if metadata.is_dir() {
|
||||
let name = entry.file_name().to_string_lossy();
|
||||
if pattern.is_match(&name) {
|
||||
@ -41,6 +41,7 @@ fn main() -> eyre::Result<()> {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Print
|
||||
println!("writing projects");
|
||||
|
Loading…
Reference in New Issue
Block a user