[Rails] Don't set unset options on the Sass::Plugin
This commit is contained in:
parent
6878899c4c
commit
d59451f398
@ -19,8 +19,8 @@ module Compass
|
||||
plugin_opts = {:template_location => locations}
|
||||
plugin_opts[:style] = output_style if output_style
|
||||
plugin_opts[:line_comments] = line_comments
|
||||
plugin_opts[:cache] = cache
|
||||
plugin_opts[:cache_location] = cache_path
|
||||
plugin_opts[:cache] = cache unless cache.nil?
|
||||
plugin_opts[:cache_location] = cache_path unless cache_path.nil?
|
||||
plugin_opts.merge!(sass_options || {})
|
||||
plugin_opts
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user