From 0bb9482518badd10b6e2c3e8e2ba99367b6f6fd1 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 12 Sep 2023 15:14:13 -0300 Subject: thumbs: return correct function signature, yes, yes --- src/gen-thumbs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen-thumbs.js b/src/gen-thumbs.js index b7c192c3..18d1964d 100644 --- a/src/gen-thumbs.js +++ b/src/gen-thumbs.js @@ -673,7 +673,7 @@ export async function verifyImagePaths(mediaPath, {urls, wikiData}) { if (empty(missing) && empty(misplaced)) { logInfo`All image paths are good - nice! None are missing or misplaced.`; - return; + return {missing, misplaced}; } if (!empty(missing)) { -- cgit 1.3.0-6-gf8a5