From ad5e2b0fe5ebcef189fe002d85525ef5e5e09c6d Mon Sep 17 00:00:00 2001 From: gmcew <97335456+gmcew@users.noreply.github.com> Date: Sat, 27 Jul 2024 23:42:28 +0100 Subject: [PATCH] CONTRACT: Remove " "s from .getDescription() result (#1525) --- src/CodingContracts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CodingContracts.ts b/src/CodingContracts.ts index 4eea11b14..2fd8e58f0 100644 --- a/src/CodingContracts.ts +++ b/src/CodingContracts.ts @@ -129,7 +129,7 @@ export class CodingContract { } getDescription(): string { - return CodingContractTypes[this.type].desc(this.data); + return CodingContractTypes[this.type].desc(this.data).replaceAll(" ", " "); } getDifficulty(): number {