-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
TypeError: Cannot call method 'replace' of null #417
Comments
Can you share the code where the exception was thrown? Since I’ve seen a similar stack trace very often, I’ll take a guess and say that the string you are passing to |
Yeah, I think it was, but it was with data returned from the GitHub API so I can't be sure. Here's where the exception was thrown: https://github.com/Rowno/aftermath/blob/master/lib/events.js#L257 |
The quickest workaround I can think of is to use a logical
|
Yeah, I was going to do that. I just opened the issue because I was asked to. 😉 |
I feel like this comes up often enough that marked should just convert |
Yup! Just encountered this issue in a lil tool that uses
|
Working toward resolution - closing to clean up issues. |
The text was updated successfully, but these errors were encountered: