From 535224f0b4f64eb5bc76ca63dcac331f219057f8 Mon Sep 17 00:00:00 2001 From: Gudmundur Haraldsson Date: Fri, 1 Nov 2019 15:07:56 +0000 Subject: [PATCH] Removing extra '.' at end of string to make sure comments get removed. --- auto-approval.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto-approval.php b/auto-approval.php index a1b154db4..176987ea1 100644 --- a/auto-approval.php +++ b/auto-approval.php @@ -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,