We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f976d93 commit 93f5a5dCopy full SHA for 93f5a5d
src/Command.php
@@ -117,7 +117,7 @@ public static function findMagickBinaryPath(?string $magickBinaryPath): string
117
throw new MagickBinaryNotFoundException($magickBinaryPath);
118
}
119
120
- if (!\is_executable($magickBinaryPath)) {
+ if ($magickBinaryPath && !\is_executable($magickBinaryPath)) {
121
throw new \InvalidArgumentException(\sprintf('The specified script (%s) is not executable.', $magickBinaryPath));
122
123
0 commit comments