skip empty map

This commit is contained in:
Vladimir Krivosheev
2014-07-28 16:24:46 +02:00
parent 9af31244e7
commit bc9ff879e6
@@ -135,6 +135,10 @@ public final class SourceMapDecoder {
}
List<String> sources = readSources(sourcesReader, sourceRoot);
if (sources.isEmpty()) {
// empty map, meteor can report such ugly maps
return null;
}
@SuppressWarnings("unchecked")
List<MappingEntry>[] reverseMappingsBySourceUrl = new List[sources.size()];