Skip to content

Commit 07f5f59

Browse files
committed
Very basic fix for #36.
1 parent e1a092f commit 07f5f59

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source-map-support.js

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

112112
function mapSourcePosition(position) {
113+
if (!isInBrowser() && position.line === 1) {
114+
position.column -= 62
115+
}
116+
113117
var sourceMap = sourceMapCache[position.source];
114118
if (!sourceMap) {
115119
// Call the (overrideable) retrieveSourceMap function to get the source map.

0 commit comments

Comments
 (0)