Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Warning bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Wierzbowski committed Jul 14, 2013
1 parent 3d040dd commit 665a834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image_tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def generate_image(preset, site_source, site_dest, image_source, image_dest)
# Generate resized files
unless File.exists?(gen_dest_file)

warn "Warning:".yellow + " #{source[:src]} is smaller than the requested output file. It will be resized without upscaling." if undersize
warn "Warning:".yellow + " #{preset[:src]} is smaller than the requested output file. It will be resized without upscaling." if undersize

# If the destination directory doesn't exist, create it
FileUtils.mkdir_p(gen_dest_dir) unless File.exist?(gen_dest_dir)
Expand Down

0 comments on commit 665a834

Please sign in to comment.