Explainatory comment.
This commit is contained in:
parent
07f5f5937b
commit
6056457014
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user