Don't add load paths to sass that already exist.
This commit is contained in:
parent
ac1f0a4be8
commit
04eb17968e
@ -61,7 +61,9 @@ module Compass
|
||||
locations = config.delete(:template_location)
|
||||
Sass::Plugin.options.merge!(config)
|
||||
locations.each do |sass_dir, css_dir|
|
||||
Sass::Plugin.add_template_location 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user