Skip to content

Commit

Permalink
Removing extra '.' at end of string to make sure comments get removed.
Browse files Browse the repository at this point in the history
  • Loading branch information
gudmdharalds committed Nov 1, 2019
1 parent ada9b35 commit 535224f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto-approval.php
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ function vipgoci_autoapproval_do_approve(
*/
if ( false !== strpos(
$pr_comment_item->body,
VIPGOCI_FILE_IS_APPROVED_MSG
rtrim( VIPGOCI_FILE_IS_APPROVED_MSG, '.' )
) ) {
vipgoci_github_pr_reviews_comments_delete(
$options,
Expand Down

0 comments on commit 535224f

Please sign in to comment.