Permalink
Browse files

Respect the --force option with sprite generation.

  • Loading branch information...
1 parent 38e4b3a commit 972c53ecb5f0423d2bffdd5a72a116651387f257 @chriseppstein chriseppstein committed Sep 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/compass/sass_extensions/sprites/sprite_methods.rb
@@ -74,7 +74,7 @@ def cleanup_old_sprites
# Does this sprite need to be generated
def generation_required?
- !File.exists?(filename) || outdated?
+ !File.exists?(filename) || outdated? || options[:force]
end
# Returns the uniqueness hash for this sprite object

0 comments on commit 972c53e

Please sign in to comment.