« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gen-thumbs.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gen-thumbs.js b/src/gen-thumbs.js
index 2d432e4b..82d5de3e 100644
--- a/src/gen-thumbs.js
+++ b/src/gen-thumbs.js
@@ -467,6 +467,9 @@ export function getExpectedImagePaths(mediaPath, {urls, wikiData}) {
 }
 
 export function checkMissingMisplacedMediaFiles(expectedImagePaths, extantImagePaths) {
+  expectedImagePaths = expectedImagePaths.map(path => path.toLowerCase());
+  extantImagePaths = extantImagePaths.map(path => path.toLowerCase());
+
   return {
     missing:
       expectedImagePaths