Fix a bug where import paths are added twice when using add_import_path in a configuration file.
This commit is contained in:
parent
5681f38e50
commit
4852e7803c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user