diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-04-22 10:03:44 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-08-14 19:26:35 -0300 |
commit | ac71c60d5ed587792754e827df1481a959a10044 (patch) | |
tree | 6fc8f54061bdaa29c9abc563b49617238f8d2379 /src/upd8.js | |
parent | be094714ca09607db32274bf2aa66e6d5bd59722 (diff) |
automatically verify expected vs extant image files
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/upd8.js b/src/upd8.js index fdd85e22..f659b360 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -40,6 +40,7 @@ import genThumbs, { clearThumbs, defaultMagickThreads, isThumb, + verifyImagePaths, } from './gen-thumbs.js'; import bootRepl from './repl.js'; @@ -666,6 +667,8 @@ async function main() { const urls = generateURLs(urlSpec); + await verifyImagePaths(mediaPath, {urls, wikiData}); + const fileSizePreloader = new FileSizePreloader(); // File sizes of additional files need to be precalculated before we can |