Explainatory comment.

This commit is contained in:
Julien Fontanet 2015-05-15 10:54:22 +02:00
parent 07f5f5937b
commit 6056457014

View File

@ -110,6 +110,8 @@ function retrieveSourceMap(source) {
}
function mapSourcePosition(position) {
// Fix position in Node where some (internal) code is prepended.
// See https://github.com/evanw/node-source-map-support/issues/36
if (!isInBrowser() && position.line === 1) {
position.column -= 62
}