« get me outta code hell

SO A BIT EMBARRASSING - 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>2023-09-19 13:25:49 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-09-19 13:25:49 -0300
commit9745cf89d808bc2e4698af346ddbc53e1ae08a2c (patch)
tree398325b2f18cfaa982d2bcff746cfd4bb96ecc4e
parent0e613cf94a3fade7050fc2e50e8bfbab8d532ad2 (diff)
SO A BIT EMBARRASSING
-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 65f0a4da..34eed9c1 100644
--- a/src/gen-thumbs.js
+++ b/src/gen-thumbs.js
@@ -286,7 +286,7 @@ async function getSpawnMagick(tool) {
   }
 
   if (fn === null && await commandExists('magick')) {
-    version = await getImageMagickVersion(fn);
+    version = await getImageMagickVersion('magick');
     if (version !== null) {
       fn = (args) => spawn('magick', [tool, ...args]);
       description = `magick ${tool}`;