summaryrefslogtreecommitdiff
path: root/node_modules/source-map-js/lib/source-map-consumer.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/source-map-js/lib/source-map-consumer.js')
-rw-r--r--node_modules/source-map-js/lib/source-map-consumer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/source-map-js/lib/source-map-consumer.js b/node_modules/source-map-js/lib/source-map-consumer.js
index 4bd7a4a5..db0a5324 100644
--- a/node_modules/source-map-js/lib/source-map-consumer.js
+++ b/node_modules/source-map-js/lib/source-map-consumer.js
@@ -1066,7 +1066,7 @@ IndexedSourceMapConsumer.prototype.sourceContentFor =
var section = this._sections[i];
var content = section.consumer.sourceContentFor(aSource, true);
- if (content) {
+ if (content || content === '') {
return content;
}
}