From 68a09934a1f38c0d0ea3fabc64a5390894d931fa Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 27 May 2025 19:39:39 -0300 Subject: eslint: make use of optional catch binding more often --- src/html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/html.js') 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); } } -- cgit 1.3.0-6-gf8a5