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

NullReferenceException if string is null #24

Closed
chrfin opened this issue Apr 7, 2021 · 1 comment
Closed

NullReferenceException if string is null #24

chrfin opened this issue Apr 7, 2021 · 1 comment

Comments

@chrfin
Copy link

chrfin commented Apr 7, 2021

I observed a NullReferenceException when we tried to colorize a string which was null.  

This was tracked to the following code:

https://github.com/riezebosch/crayon/blob/master/Crayon/StringExtensions.cs

Maybe add a null-check there?

@riezebosch
Copy link
Owner

Solved by #31

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

2 participants