File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -215,10 +215,10 @@ TEST: addTests('isIssue', [
215215 'https://github.com/sindresorhus/refined-github/issues/146' ,
216216] ) ;
217217
218- export const isIssueOrPRList = ( url : URL | HTMLAnchorElement | Location = location ) : boolean =>
219- isGlobalIssueOrPRList ( url )
220- || isRepoIssueOrPRList ( url )
221- || isMilestone ( url ) ;
218+ export const isIssueList = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => isRepoIssueList ( url ) || isGlobalIssueList ( url ) || isMilestone ( url ) ;
219+ TEST: addTests ( 'isIssueList' , combinedTestOnly )
220+
221+ export const isIssueOrPRList = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => isIssueList ( url ) || isPRList ( url ) ;
222222TEST: addTests ( 'isIssueOrPRList' , combinedTestOnly ) ;
223223
224224export const isConversation = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => isIssue ( url ) || isPRConversation ( url ) ;
You can’t perform that action at this time.
0 commit comments