File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- export const PAGES = [
2- [ 'gh_issue' , 'https://github.com/diffplug/selfie/issues/523' ] ,
3- [ 'gh_pr' , 'https://github.com/diffplug/selfie/pull/517' ] ,
4- ] as const
1+ export const PAGES = {
2+ 'gh_issue' : 'https://github.com/diffplug/selfie/issues/523' ,
3+ 'gh_pr' : 'https://github.com/diffplug/selfie/pull/517' ,
4+ } as const
55
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const harCache = new Map<string, any>()
1313
1414// Create mapping from HAR filename to original URL
1515const harToUrlMap = Object . fromEntries (
16- PAGES . map ( ( [ key , url ] ) => [ `${ key } .har` , url ] )
16+ Object . entries ( PAGES ) . map ( ( [ key , url ] ) => [ `${ key } .har` , url ] )
1717)
1818
1919// Extract URL parts for location patching
You can’t perform that action at this time.
0 commit comments