« get me outta code hell

thumbs, infra: expose list of missing image paths - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/gen-thumbs.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-09-11 15:09:19 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-09-11 15:09:19 -0300
commitb19e165dc8ba13cd0e2d1862e645d34d86142566 (patch)
treea7f0a9fbf8e75942bb9e963a587f533072f886e5 /src/gen-thumbs.js
parent78115f0be17ee405d3711204aaa53e0597a29826 (diff)
thumbs, infra: expose list of missing image paths
Diffstat (limited to 'src/gen-thumbs.js')
-rw-r--r--src/gen-thumbs.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gen-thumbs.js b/src/gen-thumbs.js
index a5b550ad..b7c192c3 100644
--- a/src/gen-thumbs.js
+++ b/src/gen-thumbs.js
@@ -689,6 +689,8 @@ export async function verifyImagePaths(mediaPath, {urls, wikiData}) {
       console.warn(color.yellow(` - `) + file);
     }
   }
+
+  return {missing, misplaced};
 }
 
 // Recursively traverses the provided (extant) media path, filtering so only