Merge pull request #648 from rvock/stable
remove less files, when cleaning up old sprites
This commit is contained in:
commit
69ef6afea0
@ -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