« 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/upd8.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/upd8.js
parent78115f0be17ee405d3711204aaa53e0597a29826 (diff)
thumbs, infra: expose list of missing image paths
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js
index 2ec231c9..b3646c9d 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -677,7 +677,8 @@ async function main() {
 
   const urls = generateURLs(urlSpec);
 
-  await verifyImagePaths(mediaPath, {urls, wikiData});
+  const {missing: missingImagePaths} =
+    await verifyImagePaths(mediaPath, {urls, wikiData});
 
   const fileSizePreloader = new FileSizePreloader();
 
@@ -795,6 +796,7 @@ async function main() {
 
     defaultLanguage: finalDefaultLanguage,
     languages,
+    missingImagePaths,
     thumbsCache,
     urls,
     urlSpec,