diff --git a/source-map-support.js b/source-map-support.js index 49ed72d..634718c 100644 --- a/source-map-support.js +++ b/source-map-support.js @@ -316,8 +316,9 @@ function wrapCallSite(frame) { // Fix position in Node where some (internal) code is prepended. // See https://github.com/evanw/node-source-map-support/issues/36 - if (line === 1 && !isInBrowser() && !frame.isEval()) { - column -= 62; + var headerLength = 62; + if (line === 1 && column > headerLength && !isInBrowser() && !frame.isEval()) { + column -= headerLength; } var position = mapSourcePosition({