Skip to content

Commit 554e7fa

Browse files
remove gotchas from isRepo
1 parent c9abc93 commit 554e7fa

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,6 @@ TEST: addTests('isRepo', [
466466
'https://github.com/sindresorhus/refined-github/milestones/1/edit', // Gotcha for isRepoTaxonomyIssueOrPRList
467467
'https://github.com/sindresorhus/refined-github/issues/new/choose', // Gotcha for isRepoIssueList
468468
'https://github.com/sindresorhus/refined-github/issues/templates/edit', // Gotcha for isRepoIssueList
469-
'https://github.com/pullsuser/my-library', // Gotcha for isRepoPRList
470-
'https://github.com/issuesuser/my-library', // Gotcha for isRepoIssueList
471469
]);
472470

473471
export const hasRepoHeader = (url: URL | HTMLAnchorElement | Location = location): boolean => isRepo(url) && !isRepoSearch(url);

0 commit comments

Comments
 (0)