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

--collapsefolders true doesn't collapse nested single items #438

Open
michael-hawker opened this issue Jan 17, 2023 · 0 comments
Open

--collapsefolders true doesn't collapse nested single items #438

michael-hawker opened this issue Jan 17, 2023 · 0 comments

Comments

@michael-hawker
Copy link
Contributor

Noticed that the collapsing of the --collapsefolders options seems to only collapse at a single level vs. recurring until no single-itemed folders remain. If you have a nested hierarchy of folders where there still may only be one project item, it still creates a folder. I kind of expected it to still bubble it up as there's no differentiation and still looks messier compared to the non-nested option:

For instance in our scenario:
image

So what appears to be happening is, this folder structure:

  • Parent Folder
    • Sub Folder A
      • Sub-sub Folder A
        • Project A
    • Sub Folder A
      • Project B

Translates to this solution structure:

  • Parent Folder
    • Sub Folder A
      • Project A <-- Sub-sub Folder A was collapsed
    • Project B

Where I expected:

  • Parent Folder
    • Project A <-- Expect this to recurse again as Sub Folder A also only contained a single item
    • Project B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant