From 24c748dc2cdf4cd94f81540167da2e6fd09aa5e2 Mon Sep 17 00:00:00 2001 From: gentlementlegen Date: Thu, 18 Apr 2024 14:34:34 +0900 Subject: [PATCH] chore: always return content on empty string --- src/parser/github-comment-module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parser/github-comment-module.ts b/src/parser/github-comment-module.ts index 083eb2c4..d71ed70d 100644 --- a/src/parser/github-comment-module.ts +++ b/src/parser/github-comment-module.ts @@ -78,7 +78,7 @@ export class GithubCommentModule implements Module { let content = ""; if (!sorted) { - return ""; + return content; } function generateContributionRow( @@ -125,7 +125,7 @@ export class GithubCommentModule implements Module { let content = ""; if (!sorted) { - return ""; + return content; } function buildIncentiveRow(commentScore: GithubCommentScore) {