diff --git a/lib/compass/actions.rb b/lib/compass/actions.rb index 288e3370..78a6fcf4 100644 --- a/lib/compass/actions.rb +++ b/lib/compass/actions.rb @@ -107,6 +107,5 @@ module Compass logger.record(action, file, options[:extra].to_s) end end - end end diff --git a/lib/compass/sprite_importer.rb b/lib/compass/sprite_importer.rb index 9b844027..442cbbc0 100644 --- a/lib/compass/sprite_importer.rb +++ b/lib/compass/sprite_importer.rb @@ -91,7 +91,8 @@ module Compass # Returns a Sass::Engine for this sprite object def self.sass_engine(uri, name, importer, options) - Sass::Engine.new(content_for_images(uri, name, options[:skip_overrides]), sass_options(uri, importer, options)) + content = content_for_images(uri, name, options[:skip_overrides]) + Sass::Engine.new(content, sass_options(uri, importer, options)) end # Generates the Sass for this sprite file