diff options
-rw-r--r-- | src/gen-thumbs.js | 3 |
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 |