Skip to content

Commit 12e2597

Browse files
authored
Change isPRList description
1 parent c0edd5b commit 12e2597

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

source/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,7 @@ collect.set('isConflict', [
168168
'https://github.com/sindresorhus/refined-github/pull/148/conflicts',
169169
]);
170170

171-
/**
172-
* Do not use this detection if you're looking for PRs, they may appear mixed with issues in search. Use `isDiscussionList`
173-
*/
171+
/** Any `isDiscussionList` can display both issues and PRs, prefer that detection. `isPRList` only exists because this page has PR-specific filters like the "Reviews" dropdown */
174172
export const isPRList = (url: URL | Location = location): boolean => url.pathname === '/pulls' || getRepoPath(url) === 'pulls';
175173
collect.set('isPRList', [
176174
'https://github.com/pulls',

0 commit comments

Comments
 (0)