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: fix nullpointerexception when body is null #390

Merged
merged 3 commits into from
Nov 2, 2024

Conversation

kvanzuijlen
Copy link
Contributor

@kvanzuijlen kvanzuijlen commented Nov 1, 2024

An exception will occur when the body is null (empty) and a pr description check is configured. This change will fall back to an empty string when the body is null (and thus empty).

Piece of webhook content:

{
  "action": "reopened",
  "number": 1144,
  "pull_request": {
    ...,
    "body": null,
    ...
  },
  ...
}

This change is Reviewable

An exception will occur when the body is null (empty) and a pr description check is configured. This change will fall back to an empty string when the body is null (and thus empty).
@KostyaSha KostyaSha merged commit 4abbaaa into KostyaSha:master Nov 2, 2024
@kvanzuijlen kvanzuijlen deleted the patch-1 branch November 2, 2024 14:13
@kvanzuijlen
Copy link
Contributor Author

kvanzuijlen commented Dec 13, 2024

@KostyaSha can you create a new release?

@KostyaSha
Copy link
Owner

in the evening

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.

2 participants