Skip to content

Commit 6056457

Browse files
committed
Explainatory comment.
1 parent 07f5f59 commit 6056457

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source-map-support.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ function retrieveSourceMap(source) {
110110
}
111111

112112
function mapSourcePosition(position) {
113+
// Fix position in Node where some (internal) code is prepended.
114+
// See https://github.com/evanw/node-source-map-support/issues/36
113115
if (!isInBrowser() && position.line === 1) {
114116
position.column -= 62
115117
}

0 commit comments

Comments
 (0)