mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-01-27 07:38:27 +00:00
a small formatting change
This commit is contained in:
parent
3419afa7cf
commit
bf3d58aa80
@ -256,12 +256,15 @@ impl<'a> Render<'a> {
|
||||
}
|
||||
|
||||
let mut dir = None;
|
||||
|
||||
if let Some(r) = self.recurse {
|
||||
if file.is_directory() && r.tree && ! r.is_too_deep(depth.0) {
|
||||
match file.to_dir() {
|
||||
Ok(d) => { dir = Some(d); },
|
||||
Err(e) => { errors.push((e, None)) },
|
||||
Ok(d) => {
|
||||
dir = Some(d);
|
||||
}
|
||||
Err(e) => {
|
||||
errors.push((e, None));
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user