lib/mini_magick/shell.rb in mini_magick-5.0.0 vs lib/mini_magick/shell.rb in mini_magick-5.0.1

- old
+ new

@@ -19,10 +19,10 @@ elsif errors fail MiniMagick::Error, "`#{command.join(" ")}` failed with status: #{status.inspect} and error:\n#{stderr}" end end - $stderr.print(stderr) if warnings && stderr.strip != %(WARNING: The convert command is deprecated in IMv7, use "magick") + $stderr.print(stderr) if warnings [stdout, stderr, status] end def execute(command, stdin: "", timeout: MiniMagick.timeout)