summaryrefslogtreecommitdiff
path: root/packages/frontend/src/utility/check-word-mute.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/utility/check-word-mute.ts')
-rw-r--r--packages/frontend/src/utility/check-word-mute.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/utility/check-word-mute.ts b/packages/frontend/src/utility/check-word-mute.ts
index 98fea1bced..eafc939c80 100644
--- a/packages/frontend/src/utility/check-word-mute.ts
+++ b/packages/frontend/src/utility/check-word-mute.ts
@@ -29,7 +29,7 @@ export function checkWordMute(note: Misskey.entities.Note, me: Misskey.entities.
try {
return new RegExp(regexp[1], regexp[2]).test(text);
- } catch (err) {
+ } catch (_) {
// This should never happen due to input sanitisation.
return false;
}