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

Fix: error thrown undefined comment #699

Merged
merged 2 commits into from
Oct 16, 2018

Conversation

flovilmart
Copy link
Contributor

It can occur that the comment is passed as undefined and the method deleteInlineComment throws an exception attempting to read .id on undefined.

This patch ensure this doesn't happen but I haven't found the root cause. I seems to occur when not responding any message on an issue event.

@orta
Copy link
Member

orta commented Oct 16, 2018

👍

@orta orta merged commit 7def0dd into danger:master Oct 16, 2018
@flovilmart flovilmart deleted the fix/error-thrown-undefined-comment branch October 16, 2018 20:42
@orta
Copy link
Member

orta commented Oct 16, 2018

feel safe either way

@flovilmart
Copy link
Contributor Author

I’ll probably dig to the root cause at one point

@peril-staging
Copy link
Contributor

peril-staging bot commented Oct 20, 2018

Thanks for the PR @flovilmart.

This PR has been shipped in v4.4.10 - CHANGELOG.

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

2 participants