« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-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) {