mirror of https://github.com/helix-editor/helix
limit coverage file search depth
parent
c142d85f71
commit
623e5de848
|
@ -115,6 +115,7 @@ fn find_coverage_file() -> Option<std::path::PathBuf> {
|
|||
return Some(std::path::PathBuf::from(coverage_path));
|
||||
}
|
||||
for entry in walkdir::WalkDir::new(".")
|
||||
.max_depth(1)
|
||||
.into_iter()
|
||||
.filter_map(|e| e.ok())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue