aboutsummaryrefslogtreecommitdiff
path: root/lib/sourcemap.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sourcemap.js')
-rw-r--r--lib/sourcemap.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sourcemap.js b/lib/sourcemap.js
index 8e86ebd8..663ef12e 100644
--- a/lib/sourcemap.js
+++ b/lib/sourcemap.js
@@ -64,6 +64,9 @@ function SourceMap(options) {
line: orig_line,
column: orig_col
});
+ if (info.source === null) {
+ return;
+ }
source = info.source;
orig_line = info.line;
orig_col = info.column;