« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/find.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/find.js b/src/find.js
index 81f910d9..beee88cc 100644
--- a/src/find.js
+++ b/src/find.js
@@ -1,6 +1,5 @@
 import {inspect} from 'node:util';
 
-import CacheableObject from '#cacheable-object';
 import {colors, logWarn} from '#cli';
 import thingConstructors from '#things';
 import {typeAppearance} from '#sugar';
@@ -18,7 +17,7 @@ function warnOrThrow(mode, message) {
 }
 
 export function processAllAvailableMatches(data, {
-  include = thing => true,
+  include = _thing => true,
 
   getMatchableNames = thing =>
     (Object.hasOwn(thing, 'name')
@@ -158,7 +157,7 @@ const hardcodedFindSpecs = {
   },
 };
 
-export function getAllFindSpecs(key) {
+export function getAllFindSpecs() {
   try {
     thingConstructors;
   } catch (error) {