Skip to content

A platform for community discussion. Free, open, simple.

265 B
Raw Blame
# frozen_string_literal: true

class ProblemCheck::ImageMagick < ProblemCheck
  self.priority = "low"

  def call
    return no_problem if !SiteSetting.create_thumbnails
    return no_problem if Kernel.system("command -v magick >/dev/null;")

    problem
  end
end