Skip to content

Commit

Permalink
false should have been true
Browse files Browse the repository at this point in the history
  • Loading branch information
dluftspring committed Nov 11, 2022
1 parent a329219 commit 10a5062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Expand Up @@ -35,7 +35,7 @@ function findCommentPredicate(inputs: Inputs, comment: Comment): boolean {
}

function isMatchedRegex(body: string, regex: string): boolean {
return (body ? body.match(regex) !== null : false) || (!body ? false : false)
return (body ? body.match(regex) !== null : true) || (!body ? false : false)
}

async function findComment(inputs: Inputs): Promise<Comment | undefined> {
Expand Down

0 comments on commit 10a5062

Please sign in to comment.