« get me outta code hell

checks: reportDirectoryErrors: consider blank directory missing - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-10-24 07:02:06 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-10-24 07:02:06 -0300
commite8ef0dd13b98a86a1c9be5d359920bc15522679e (patch)
tree4500a3f493faf3b6edb8e4e0967e4a8b3a2e9fe0 /src/data
parent3a1b2164f390f7998c98579d85d5a984421f44a6 (diff)
checks: reportDirectoryErrors: consider blank directory missing
Diffstat (limited to 'src/data')
-rw-r--r--src/data/checks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/checks.js b/src/data/checks.js
index 4786f16b..fd2c4931 100644
--- a/src/data/checks.js
+++ b/src/data/checks.js
@@ -60,7 +60,7 @@ export function reportDirectoryErrors(wikiData, {
           : [thing.directory]);
 
       for (const directory of directories) {
-        if (directory === null || directory === undefined) {
+        if (directory === '' || directory === null || directory === undefined) {
           missingDirectoryThings.add(thing);
           continue;
         }