Fix a bug where import paths are added twice when using add_import_path in a configuration file.

This commit is contained in:
Chris Eppstein 2011-06-03 09:45:51 -07:00
parent 5681f38e50
commit 4852e7803c

View File

@ -27,6 +27,7 @@ module Compass
if @added_import_paths if @added_import_paths
self.additional_import_paths ||= [] self.additional_import_paths ||= []
self.additional_import_paths += @added_import_paths self.additional_import_paths += @added_import_paths
self.additional_import_paths.uniq!
end end
issue_deprecation_warnings issue_deprecation_warnings
end end