« get me outta code hell

thumbs: return correct function signature, yes, yes - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-09-12 15:14:13 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-09-12 15:14:13 -0300
commit0bb9482518badd10b6e2c3e8e2ba99367b6f6fd1 (patch)
treeb974c4c65762f13f4936f77b154466fdf59d9d39 /src
parent113157085c7bd6f23bd7c08ad6cd2d94673d7033 (diff)
thumbs: return correct function signature, yes, yes
Diffstat (limited to 'src')
-rw-r--r--src/gen-thumbs.js2
1 files changed, 1 insertions, 1 deletions
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)) {