Skip to content

Commit f0e50cf

Browse files
add gotchas for isRepoPRList & isRepoIssueList
1 parent 6d97ff1 commit f0e50cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,8 @@ 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
469471
]);
470472

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

0 commit comments

Comments
 (0)