From b19e165dc8ba13cd0e2d1862e645d34d86142566 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 11 Sep 2023 15:09:19 -0300 Subject: thumbs, infra: expose list of missing image paths --- src/gen-thumbs.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gen-thumbs.js') 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 -- cgit 1.3.0-6-gf8a5