-
Notifications
You must be signed in to change notification settings - Fork 81
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
bugfix: Work around fansi escaping issues #731
Conversation
Previously, some error messages might have been not able to be printed due to a bug in fansi com-lihaoyi/fansi#46 Now, we added a workaround that should help out here. Fixes scalameta#730
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 🙏
@tgodzik would it be easy to add a test for this? I assume we can throw an exception with a broken fansi string in a markdown document? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏼 looks good, but agree with @keynmol, is it possible to include a test for this?
90cab27
to
a1dde47
Compare
a1dde47
to
47f7754
Compare
Alright, I finally managed to get the test working. I also moved the CliSuite to tests, since it was not being even run at all 😨 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, LGTM!
Previously, some error messages might have been not able to be printed due to a bug in fansi com-lihaoyi/fansi#46
Now, we added a workaround that should help out here.
Fixes #730