Merge pull request #31 from christiang88/NullSourceMapCrash
There's a crash when we are able to get a wrapping function, but the …
This commit is contained in:
Коммит
fc99702287
|
@ -65,7 +65,7 @@ namespace SourcemapToolkit.CallstackDeminifier
|
|||
if (wrappingFunction.Bindings.Count == 2)
|
||||
{
|
||||
MappingEntry objectProtoypeMappingEntry =
|
||||
sourceMap.GetMappingEntryForGeneratedSourcePosition(wrappingFunction.Bindings[0].SourcePosition);
|
||||
sourceMap?.GetMappingEntryForGeneratedSourcePosition(wrappingFunction.Bindings[0].SourcePosition);
|
||||
|
||||
methodName = objectProtoypeMappingEntry?.OriginalName;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче