diff options
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 |
commit | b19e165dc8ba13cd0e2d1862e645d34d86142566 (patch) | |
tree | a7f0a9fbf8e75942bb9e963a587f533072f886e5 /src/upd8.js | |
parent | 78115f0be17ee405d3711204aaa53e0597a29826 (diff) |
thumbs, infra: expose list of missing image paths
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 4 |
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, |