Fix Sass Syntax error module path. Fixes #444

This commit is contained in:
Thomas Reynolds 2012-05-23 14:37:57 -07:00
parent 955eb03908
commit 4b818ea230

View file

@ -54,8 +54,8 @@ module Middleman
def evaluate(context, locals, &block)
begin
super
rescue Sass::SyntaxError => e
Sass::SyntaxError.exception_to_css(e, :full_exception => true)
rescue ::Sass::SyntaxError => e
::Sass::SyntaxError.exception_to_css(e, :full_exception => true)
end
end