This is an automated email from the ASF dual-hosted git repository.

kumfo pushed a commit to branch feat/reviewer-basic
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git


The following commit(s) were added to refs/heads/feat/reviewer-basic by this 
push:
     new ce03785  fix(review): fixed keyword
ce03785 is described below

commit ce037852724253e30ace3a5e32a05237899ab8f5
Author: kumfo <[email protected]>
AuthorDate: Tue Apr 16 15:01:00 2024 +0800

    fix(review): fixed keyword
---
 reviewer-basic/basic.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reviewer-basic/basic.go b/reviewer-basic/basic.go
index ee9064d..14556e8 100644
--- a/reviewer-basic/basic.go
+++ b/reviewer-basic/basic.go
@@ -64,7 +64,7 @@ func (r *Reviewer) Review(content *plugin.ReviewContent) 
(result *plugin.ReviewR
                result = &plugin.ReviewResult{
                        Approved:     false,
                        ReviewStatus: plugin.ReviewStatusNeedReview,
-                       Reason:       
fmt.Sprintf(plugin.TranslateWithData(myI18n.Language(content.Language), 
i18n.CommentMatchWordReview, nil), keyword),
+                       Reason:       
plugin.TranslateWithData(myI18n.Language(content.Language), 
i18n.CommentNeedReview, nil),
                }
                return result
        }

Reply via email to