Skip to content

Commit

Permalink
Update src/parser/user-extractor-transformer.ts
Browse files Browse the repository at this point in the history
Co-authored-by: アレクサンダー.eth <4975670+pavlovcik@users.noreply.github.com>
  • Loading branch information
Fernand and 0x4007 authored Mar 19, 2024
1 parent 45d2831 commit f9013bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/user-extractor-transformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class UserExtractorTransformer implements Transformer {
* @param comment
*/
_checkEntryValidity(comment: GitHubIssueComment) {
return !!comment.user && !!comment.body && comment.user.type === "User";
return comment.body && comment.user?.type === "User";
}

_extractBountyPrice(issue: GitHubIssue) {
Expand Down

0 comments on commit f9013bc

Please sign in to comment.