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/gen-thumbs.js | |
parent | 78115f0be17ee405d3711204aaa53e0597a29826 (diff) |
thumbs, infra: expose list of missing image paths
Diffstat (limited to 'src/gen-thumbs.js')
-rw-r--r-- | src/gen-thumbs.js | 2 |
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 |