fixes invalid line offsets in merged sourcemaps

This commit is contained in:
Peter Mikula
2016-10-28 20:41:10 +03:00
parent e1ac315653
commit fad6483aac
3 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ module.exports = function (commander, filenames, opts) {
}
});
offset = code.split("\n").length;
offset = code.split("\n").length -1;
}
});