display/tree: 🔨 not showing . and .. when tree with all

fix https://github.com/Peltoche/lsd/issues/477

Signed-off-by: zwPapEr <zw.paper@gmail.com>
This commit is contained in:
zwPapEr 2021-02-14 21:53:22 +08:00 committed by Abin Simon
parent 841ad99ced
commit 36002a35ac

View file

@ -81,7 +81,7 @@ impl Meta {
let mut content: Vec<Meta> = Vec::new();
if let Display::All = flags.display {
if Display::All == flags.display && flags.layout != Layout::Tree {
let mut current_meta;
current_meta = self.clone();