Skip to content

Commit 616c373

Browse files
oops 2
1 parent 3c39e53 commit 616c373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ const getRepo = (url?: URL | HTMLAnchorElement | Location | string): RepositoryI
971971
return;
972972
}
973973

974-
const [owner, name, ...pathParts] = processPathname(decodePathname(url)).split('/') as [string, string, string];
974+
const [owner, name, ...pathParts] = processPathname(url).split('/') as [string, string, string];
975975
return {
976976
owner,
977977
name,

0 commit comments

Comments
 (0)