mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
skip empty map
This commit is contained in:
+4
@@ -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()];
|
||||
|
||||
Reference in New Issue
Block a user