fix most tests

pull/8362/head
Ben McCann 3 years ago
parent 741032195c
commit 56146d0a11

@ -151,8 +151,10 @@ export default class Component {
let location: { line: number, column: number } = locator(c);
if (tracer) {
location = originalPositionFor(tracer, location);
// originalPositionFor returns 0-based lines?
// https://github.com/jridgewell/trace-mapping/issues/27
location.line += 1;
}
location.line += 1; // make line one based
return location;
};
// styles

Loading…
Cancel
Save