« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/find-reverse.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/find-reverse.js')
-rw-r--r--src/find-reverse.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/find-reverse.js b/src/find-reverse.js
index 6a67ac0f..c99a4a71 100644
--- a/src/find-reverse.js
+++ b/src/find-reverse.js
@@ -11,7 +11,7 @@ export function getAllSpecs({
 }) {
   try {
     thingConstructors;
-  } catch (error) {
+  } catch {
     throw new Error(`Thing constructors aren't ready yet, can't get all ${word} specs`);
   }
 
@@ -52,7 +52,7 @@ export function findSpec(key, {
 
   try {
     thingConstructors;
-  } catch (error) {
+  } catch {
     throw new Error(`Thing constructors aren't ready yet, can't check if "${word}.${key}" available`);
   }