From e0c076a1d812c52747784e6e4200607cdfab278e Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Mon, 18 Jul 2022 02:16:30 +0200 Subject: [PATCH] Fix code quality issue --- Logic/ImageProviders/Imgur.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Logic/ImageProviders/Imgur.ts b/Logic/ImageProviders/Imgur.ts index 27689a32e..715813f7b 100644 --- a/Logic/ImageProviders/Imgur.ts +++ b/Logic/ImageProviders/Imgur.ts @@ -122,7 +122,7 @@ export class Imgur extends ImageProvider { for (const tag of descr.split("\n")) { const kv = tag.split(":"); const k = kv[0]; - data[k] = kv[1]?.replace("\r", ""); + data[k] = kv[1]?.replace(/\r/g, ""); }