driveby
This commit is contained in:
parent
6e37ea1423
commit
9b4f719f5c
|
|
@ -87,7 +87,7 @@ export class FetchTraceModelBackend implements TraceModelBackend {
|
|||
constructor(traceURL: string) {
|
||||
this._traceURL = traceURL;
|
||||
this._entriesPromise = fetch(traceURL).then(async response => {
|
||||
const json = JSON.parse(await response.text());
|
||||
const json = await response.json();
|
||||
const entries = new Map<string, string>();
|
||||
for (const entry of json.entries)
|
||||
entries.set(entry.name, entry.path);
|
||||
|
|
|
|||
Loading…
Reference in a new issue