From 972c53ecb5f0423d2bffdd5a72a116651387f257 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Mon, 19 Sep 2011 18:19:42 -0700 Subject: [PATCH] Respect the --force option with sprite generation. --- lib/compass/sass_extensions/sprites/sprite_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compass/sass_extensions/sprites/sprite_methods.rb b/lib/compass/sass_extensions/sprites/sprite_methods.rb index 251b5865..52458b00 100644 --- a/lib/compass/sass_extensions/sprites/sprite_methods.rb +++ b/lib/compass/sass_extensions/sprites/sprite_methods.rb @@ -74,7 +74,7 @@ module Compass # 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