Fix code quality issue

This commit is contained in:
pietervdvn 2022-07-18 02:16:30 +02:00
parent b8bca0287d
commit e0c076a1d8

View file

@ -122,7 +122,7 @@ export class Imgur extends ImageProvider {
for (const tag of descr.split("\n")) { for (const tag of descr.split("\n")) {
const kv = tag.split(":"); const kv = tag.split(":");
const k = kv[0]; const k = kv[0];
data[k] = kv[1]?.replace("\r", ""); data[k] = kv[1]?.replace(/\r/g, "");
} }