[Rails] Don't set unset options on the Sass::Plugin

This commit is contained in:
Chris Eppstein 2010-02-13 12:22:21 -08:00
parent 6878899c4c
commit d59451f398

View File

@ -19,8 +19,8 @@ module Compass
plugin_opts = {:template_location => locations} plugin_opts = {:template_location => locations}
plugin_opts[:style] = output_style if output_style plugin_opts[:style] = output_style if output_style
plugin_opts[:line_comments] = line_comments plugin_opts[:line_comments] = line_comments
plugin_opts[:cache] = cache plugin_opts[:cache] = cache unless cache.nil?
plugin_opts[:cache_location] = cache_path plugin_opts[:cache_location] = cache_path unless cache_path.nil?
plugin_opts.merge!(sass_options || {}) plugin_opts.merge!(sass_options || {})
plugin_opts plugin_opts
end end