Skip to content

Commit

Permalink
chore: always return content on empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Apr 18, 2024
1 parent 119c633 commit 24c748d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser/github-comment-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class GithubCommentModule implements Module {
let content = "";

if (!sorted) {
return "";
return content;
}

function generateContributionRow(
Expand Down Expand Up @@ -125,7 +125,7 @@ export class GithubCommentModule implements Module {
let content = "";

if (!sorted) {
return "";
return content;
}

function buildIncentiveRow(commentScore: GithubCommentScore) {
Expand Down

0 comments on commit 24c748d

Please sign in to comment.