remove less files, when cleaning up old sprites (fixes deleting to many generated sprites in some cases)
This commit is contained in:
parent
88c90f4397
commit
570ce43d96
@ -72,7 +72,7 @@ module Compass
|
||||
end
|
||||
|
||||
def cleanup_old_sprites
|
||||
Dir[File.join(Compass.configuration.images_path, "#{path}-*.png")].each do |file|
|
||||
Dir[File.join(Compass.configuration.images_path, "#{path}-s*.png")].each do |file|
|
||||
FileUtils.rm file
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user