Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report | Empty directories are missing from the tree #3

Open
JosephLai241 opened this issue Aug 24, 2022 · 0 comments
Open

Bug Report | Empty directories are missing from the tree #3

JosephLai241 opened this issue Aug 24, 2022 · 0 comments
Assignees
Labels
beta This issue or feature should be resolved or implemented before an official release bug Something isn't working

Comments

@JosephLai241
Copy link
Owner

Describe The Bug

Empty directories are missing in the tree.

Expected Behavior

Empty directories absolutely should be included in trees.

Actual Behavior

nomad skips over all empty directories.

Steps To Reproduce

  • cd into a directory containing empty subdirectories (or run mkdir <DIRECTORY_NAME> and do not add any files into the new directory).
  • Run nd to display a tree visual of the directory's structure.
    • The empty subdirectory/subdirectories or the newly created empty subdirectory will not be included in the tree.

Traceback/Output

N/A

Additional Context

I need to revisit the ToTree trait in src/traverse/traits.rs since this trait is where the tree is built. I think it should (hopefully) be a simple fix once I find where the issue is occurring.

@JosephLai241 JosephLai241 added bug Something isn't working beta This issue or feature should be resolved or implemented before an official release labels Aug 24, 2022
@JosephLai241 JosephLai241 self-assigned this Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta This issue or feature should be resolved or implemented before an official release bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant