handle single-field segments (#3757)
This commit is contained in:
@@ -133,7 +133,7 @@ function SourceMap(options) {
|
|||||||
if (orig_col >= col) indices = segments[i];
|
if (orig_col >= col) indices = segments[i];
|
||||||
if (orig_col <= col) break;
|
if (orig_col <= col) break;
|
||||||
}
|
}
|
||||||
if (!indices) return;
|
if (!indices || indices.length < 4) return;
|
||||||
source = map.sources[indices[1]];
|
source = map.sources[indices[1]];
|
||||||
orig_line = indices[2];
|
orig_line = indices[2];
|
||||||
orig_col = indices[3];
|
orig_col = indices[3];
|
||||||
|
|||||||
Reference in New Issue
Block a user