Skip to content

Commit bdb2c12

Browse files
committed
test(#246): fix strict noUncheckedIndexedAccess type error in replay fetch [skip-release]
1 parent 6999f1c commit bdb2c12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/integration/replay-cwa-fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class ReplayCwaFetch {
8484
}
8585

8686
private request(url: string): Promise<unknown> {
87-
const path = url.split('?')[0]
87+
const path = url.split('?')[0] ?? url
8888
this.requestLog.push(path)
8989
const entry = this.entryFor(path)
9090
const produce = () => {

0 commit comments

Comments
 (0)