module Less::StyleSheet::Import1
def build_with_sass(env)
def build_with_sass(env) line = input.line_of(interval.first) import = Sass::Tree::ImportNode.new(url.value.gsub(/\.less$/, '')) import.line = input.line_of(interval.first) env << Node::SassNode.new(import) old_rules = env.rules.dup build_without_sass env (env.rules - old_rules).each {|r| r.hide_in_sass = true} rescue ImportError => e raise Sass::SyntaxError.new("File to import #{url.text_value} not found or unreadable", :line => line) end