Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Respect the --force option with sprite generation.

  • Loading branch information...
commit 972c53ecb5f0423d2bffdd5a72a116651387f257 1 parent 38e4b3a
@chriseppstein chriseppstein authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/compass/sass_extensions/sprites/sprite_methods.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.