removed another instance cache in the importer that could be problematic
This commit is contained in:
parent
ab5d6e51d9
commit
f248c22ab1
@ -81,7 +81,7 @@ module Compass
|
||||
|
||||
# Returns an Array of image names without the file extension
|
||||
def sprite_names
|
||||
@sprite_names ||= files.collect do |file|
|
||||
files.collect do |file|
|
||||
filename = File.basename(file, '.png')
|
||||
unless VAILD_FILE_NAME =~ filename
|
||||
raise Compass::Error, "Sprite file names must be legal css identifiers. Please rename #{File.basename(file)}"
|
||||
|
Loading…
Reference in New Issue
Block a user