Skip to content

Fix extra line that can occur on small outputs. #44

@bootandy

Description

@bootandy

Sometimes the output can look like this:

4.0K ─┬ 
 8.0K ─┬ .
 8.0K  └─┬ many
 4.0K    ├── hello_file
   0B    └── a_file

Instead of:

 8.0K ─┬ .
 8.0K  └─┬ many
 4.0K    ├── hello_file
   0B    └── a_file

This seems to be down to a call to: e.path().ancestors() in utils/mod.rs which can return '/' as an ancestor.

Investigating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions