diff options
-rw-r--r-- | src/gen-thumbs.js | 2 |
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}`; |