« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/checks.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/checks.js')
-rw-r--r--src/data/checks.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/data/checks.js b/src/data/checks.js
index b7a237ad..fb4a9673 100644
--- a/src/data/checks.js
+++ b/src/data/checks.js
@@ -353,7 +353,12 @@ export function filterReferenceErrors(wikiData, {
                   if (ref === 'same name single') {
                     // Accessing the current thing here.
                     try {
-                      return boundFind.albumSinglesOnly(thing.name);
+                      return boundFind.albumSinglesOnly(thing.name, {
+                        fuzz: {
+                          capitalization: true,
+                          kebab: true,
+                        },
+                      });
                     } catch (caughtError) {
                       throw new Error(
                         `Didn't match a single with the same name`,