Don't set the quiet option unless disable_warnings is passed via the nested :sass options hash.

This commit is contained in:
Chris Eppstein 2012-01-09 17:16:47 -08:00
parent 8c84869b0b
commit fc41c452b8

View File

@ -12,6 +12,7 @@ module Compass
sass_opts = options.delete(:sass) || {} sass_opts = options.delete(:sass) || {}
self.options = options self.options = options
self.sass_options = options.dup self.sass_options = options.dup
self.sass_options.delete(:quiet)
self.sass_options.update(sass_opts) self.sass_options.update(sass_opts)
self.sass_options[:cache_location] ||= determine_cache_location self.sass_options[:cache_location] ||= determine_cache_location
self.sass_options[:importer] = self.importer = Sass::Importers::Filesystem.new(from) self.sass_options[:importer] = self.importer = Sass::Importers::Filesystem.new(from)