Commit f77e2894 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Unify format of image warnings with others.

parent 7093ec2c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ module JsDuck
    def copy(output_dir)
      @images.each_key do |img|
        unless copy_img(img, output_dir)
          Logger.instance.warn("Image #{img} not found")
          Logger.instance.warn("Image not found.", img)
        end
      end
      report_unused
@@ -62,7 +62,7 @@ module JsDuck
    def report_unused
      @paths.each_pair do |path, map|
        map.each_pair do |img, used|
          Logger.instance.warn("Image #{img} not used") unless used
          Logger.instance.warn("Image not used.", img) unless used
        end
      end
    end