« get me outta code hell

eslint: make use of optional catch binding more often - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/html.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-05-27 19:39:39 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-05-27 19:46:23 -0300
commit68a09934a1f38c0d0ea3fabc64a5390894d931fa (patch)
tree5493dcde92b75da67ffc1eb24d9d0c5fc1212ae5 /src/html.js
parent255102c21db9194535d304f181a2a0145e9b3c8a (diff)
eslint: make use of optional catch binding more often
Diffstat (limited to 'src/html.js')
-rw-r--r--src/html.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html.js b/src/html.js
index 9e4c39ab..49700775 100644
--- a/src/html.js
+++ b/src/html.js
@@ -583,7 +583,7 @@ export class Tag {
 
     try {
       this.content = this.content;
-    } catch (error) {
+    } catch {
       this.#setAttributeFlag(imaginarySibling, false);
     }
   }