Skip to content

Commit

Permalink
Fix broken formatting of issue text
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin Schürz committed Jan 6, 2025
1 parent acf247a commit e418e28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/common/src/verifier/template/IssueFormat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ export class IssueFormat {

if (parts.every(part => typeof part === 'string')) {
yield new TextBlock({
text: this.tokens.join(''),
text: parts.join(''),
fontSize: 13,
color: OsucadColors.text,
});
return;
}

for (const part of this.getParts(args)) {
Expand Down Expand Up @@ -69,7 +70,7 @@ export class IssueFormat {
parts.push(value);
}
else {
currentString += `${value}`;
currentString += value;
}
}
}
Expand Down

0 comments on commit e418e28

Please sign in to comment.