From 982a743ceb45ab2a5214f1fee1fcdfb0e3e21dfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrg=C3=BCn=20Day=C4=B1o=C4=9Flu?= Date: Mon, 20 Nov 2023 11:09:36 +0100 Subject: [PATCH] don't init unused error (#138) --- lib/utils/decodeText.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/decodeText.js b/lib/utils/decodeText.js index be35d6b..eac7d35 100644 --- a/lib/utils/decodeText.js +++ b/lib/utils/decodeText.js @@ -96,7 +96,7 @@ const decoders = { if (textDecoders.has(this.toString())) { try { return textDecoders.get(this).decode(data) - } catch (e) { } + } catch {} } return typeof data === 'string' ? data