diff --git a/src/parser/content-evaluator-module.ts b/src/parser/content-evaluator-module.ts index 3d7f0b17..05e815c1 100644 --- a/src/parser/content-evaluator-module.ts +++ b/src/parser/content-evaluator-module.ts @@ -81,8 +81,7 @@ export class ContentEvaluatorModule implements Module { async _processComment(comments: Readonly[], specificationBody: string) { const commentsWithScore: GithubCommentScore[] = [...comments]; - const { commentsToEvaluate, PrCommentsToEvaluate: prCommentsToEvaluate } = - this._splitCommentsByPrompt(commentsWithScore); + const { commentsToEvaluate, prCommentsToEvaluate } = this._splitCommentsByPrompt(commentsWithScore); const relevancesByAI = await this._evaluateComments(specificationBody, commentsToEvaluate, prCommentsToEvaluate); @@ -128,7 +127,7 @@ export class ContentEvaluatorModule implements Module { _splitCommentsByPrompt(commentsWithScore: Readonly[]): { commentsToEvaluate: CommentToEvaluate[]; - PrCommentsToEvaluate: PrCommentToEvaluate[]; + prCommentsToEvaluate: PrCommentToEvaluate[]; } { const commentsToEvaluate: CommentToEvaluate[] = []; const prCommentsToEvaluate: PrCommentToEvaluate[] = []; @@ -149,7 +148,7 @@ export class ContentEvaluatorModule implements Module { } } } - return { commentsToEvaluate, PrCommentsToEvaluate: prCommentsToEvaluate }; + return { commentsToEvaluate, prCommentsToEvaluate }; } async _evaluateComments(