Scope any css stylesheets that get generated into a project without the user's permission

This commit is contained in:
Chris Eppstein 2010-08-29 02:54:28 -07:00
parent e4608e3e4c
commit ca789f00d8

View File

@ -11,7 +11,7 @@ module Compass
locations = []
locations << [sass_path, css_path] if sass_path && css_path
Compass::Frameworks::ALL.each do |framework|
locations << [framework.stylesheets_directory, css_path || css_dir || "."]
locations << [framework.stylesheets_directory, File.join(css_path || css_dir || ".", framework.name)]
end
resolve_additional_import_paths.each do |additional_path|
locations << [additional_path, File.join(css_path || css_dir || ".", File.basename(additional_path))]