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 bug with not accepting newlines #12

Merged
merged 1 commit into from
May 25, 2022
Merged

Conversation

trstringer
Copy link
Owner

Prior to this PR, if there was a newline (or multiple newline
characters) at the end of the keyword then it wouldn't match. With this
fix any number of newlines at the end of the keyword match will now be
considered for approve or deny.

Fixes #8.

Prior to this PR, if there was a newline (or multiple newline
characters) at the end of the keyword then it wouldn't match. With this
fix any number of newlines at the end of the keyword match will now be
considered for approve or deny.
@trstringer trstringer merged commit 75c263a into main May 25, 2022
trstringer added a commit that referenced this pull request Jun 30, 2022
This was originally fixed for approved in #12 but the denied case was
missing. This adds a failing test and the fix for it.
@trstringer trstringer mentioned this pull request Jun 30, 2022
trstringer added a commit that referenced this pull request Jun 30, 2022
This was originally fixed for approved in #12 but the denied case was
missing. This adds a failing test and the fix for it.
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.

keywords with new line doesnt work
1 participant