« get me outta code hell

html: minor eslint fixes - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-02-16 08:46:32 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-02-16 09:03:14 -0400
commitb66548c3353b287064cfd94187871374ed0c520f (patch)
treefc9bab92dff0a1924c76592204e050263e7f510f /src
parent9de8ee5f608c961c01162197b389fb3dfdbe6005 (diff)
html: minor eslint fixes
Diffstat (limited to 'src')
-rw-r--r--src/util/html.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/html.js b/src/util/html.js
index 69819669..ddc0277a 100644
--- a/src/util/html.js
+++ b/src/util/html.js
@@ -170,7 +170,7 @@ export function metatag(identifier, ...args) {
       args[0] instanceof Tag ||
       args[0] instanceof Template)
   ) {
-    opts = args[0];
+    opts = args[0];  /* eslint-disable-line no-unused-vars */
     content = args[1];
   } else {
     content = args[0];
@@ -723,7 +723,7 @@ export class Attributes {
 
     throw new Error(
       `Expected Attributes, Template, or object, ` +
-      `got ${typeAppearance(attribute)}`);
+      `got ${typeAppearance(attributes)}`);
   }
 
   #addOneAttribute(attribute, value) {