lib/lookbook/error.rb in lookbook-0.9.8 vs lib/lookbook/error.rb in lookbook-1.0.0.beta.0
- old
+ new
@@ -32,11 +32,10 @@
empty_start_lines += 1
end
{
code: relevant_lines.join("\n").lstrip,
- start_line: start_line - empty_start_lines,
- end_line: end_line - empty_start_lines,
+ start_line: start_line,
highlighted_line: highlighted_line - empty_start_lines
}
end
end