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

feat: improved indentation in error messages #30

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

baszalmstra
Copy link
Contributor

@baszalmstra baszalmstra commented Feb 8, 2024

I extracted the new indentation code from #28

Old

The following packages are incompatible
|-- a * cannot be installed because there are no viable options:
    |-- a 2 would require
        |-- b *, which cannot be installed because there are no viable options:
            |-- b 1 is excluded because it is externally excluded
    |-- a 1 would require
        |-- c *, which cannot be installed because there are no viable options:
            |-- c 1 is excluded because it is externally excluded

New

The following packages are incompatible
└─ a * cannot be installed because there are no viable options:
   ├─ a 2 would require
   │  └─ b *, which cannot be installed because there are no viable options:
   │     └─ b 1 is excluded because it is externally excluded
   └─ a 1 would require
      └─ c *, which cannot be installed because there are no viable options:
         └─ c 1 is excluded because it is externally excluded

@baszalmstra baszalmstra changed the title feat: proper unicode characters in error messages feat: improved indentation in error messages Feb 8, 2024
Copy link
Member

@wolfv wolfv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking gooood!

@baszalmstra baszalmstra merged commit 18ae192 into mamba-org:main Feb 8, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

None yet

3 participants