« get me outta code hell

thumbs: genThumbs: make sure new cache is set to something - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-01-11 15:44:03 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-01-11 15:44:03 -0400
commitbb0633d83fffa0b910018022da46ce225bbca49a (patch)
treea33bf30e600e62c70e5bb32023e43d1137c6d75e
parentcebe1e9872b38f8637092ecf2521f6054f42922d (diff)
thumbs: genThumbs: make sure new cache is set to something
-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 42c9a333..30e79b64 100644
--- a/src/gen-thumbs.js
+++ b/src/gen-thumbs.js
@@ -869,7 +869,7 @@ export default async function genThumbs({
 
   quietInfo`Running up to ${magickThreads + ' magick threads'} simultaneously.`;
 
-  let cache = null;
+  let cache = {};
   let firstRun = false;
 
   try {