fixed a bug that was causeing compass to remove non sprite images
This commit is contained in:
parent
a82a3dd5d4
commit
4187f88970
@ -7,7 +7,7 @@ module Compass
|
|||||||
# finds all sprite files
|
# finds all sprite files
|
||||||
def self.find_all_sprite_map_files(path)
|
def self.find_all_sprite_map_files(path)
|
||||||
hex = "[0-9a-f]"
|
hex = "[0-9a-f]"
|
||||||
glob = "*-{,s}#{hex*10}{#{VALID_EXTENSIONS.join(",")}}"
|
glob = "*-s#{hex*10}{#{VALID_EXTENSIONS.join(",")}}"
|
||||||
Dir.glob(File.join(path, "**", glob))
|
Dir.glob(File.join(path, "**", glob))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user