Don't add load paths to sass that already exist.
This commit is contained in:
parent
ac1f0a4be8
commit
04eb17968e
@ -61,9 +61,11 @@ module Compass
|
||||
locations = config.delete(:template_location)
|
||||
Sass::Plugin.options.merge!(config)
|
||||
locations.each do |sass_dir, css_dir|
|
||||
unless Sass::Plugin.engine_options[:load_paths].include?(sass_dir)
|
||||
Sass::Plugin.add_template_location sass_dir, css_dir
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def sass_plugin_configured?
|
||||
@sass_plugin_configured
|
||||
|
Loading…
Reference in New Issue
Block a user