From 4852e7803cdf655292d84dab1220a2037ed06e9d Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Fri, 3 Jun 2011 09:45:51 -0700 Subject: [PATCH] Fix a bug where import paths are added twice when using add_import_path in a configuration file. --- lib/compass/configuration/serialization.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/compass/configuration/serialization.rb b/lib/compass/configuration/serialization.rb index ff41ecc2..bf7a5288 100644 --- a/lib/compass/configuration/serialization.rb +++ b/lib/compass/configuration/serialization.rb @@ -27,6 +27,7 @@ module Compass if @added_import_paths self.additional_import_paths ||= [] self.additional_import_paths += @added_import_paths + self.additional_import_paths.uniq! end issue_deprecation_warnings end