Skip to content

Commit aad549b

Browse files
authored
Merge pull request #53 from roschaefer/master
fix: edge case - exporting empty HAR exchanges
2 parents 730dcc2 + 9624390 commit aad549b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/model/http/har.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ function getSourcesAsHarPages(exchanges: HttpExchange[]): HarFormat.Page[] {
295295
'startTime' in e.timingEvents
296296
? e.timingEvents.startTime
297297
: Date.now()
298-
));
298+
), Date.now());
299299

300300
return {
301301
id: source,
@@ -621,4 +621,4 @@ function parseHarResponse(
621621
: response.bodySize
622622
}
623623
}
624-
}
624+
}

0 commit comments

Comments
 (0)