File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -616,7 +616,8 @@ export const hasRichTextEditor = (url: URL | HTMLAnchorElement | Location = loca
616
616
|| isDiscussion ( url ) ;
617
617
618
618
addTests ( 'hasCode' , combinedTestOnly ) ;
619
- export const hasCode = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => // Static code, not the editor
619
+ /** Static code, not the code editor */
620
+ export const hasCode = ( url : URL | HTMLAnchorElement | Location = location ) : boolean =>
620
621
hasComments ( url )
621
622
|| isRepoTree ( url ) // Readme files
622
623
|| isRepoSearch ( url )
@@ -628,7 +629,8 @@ export const hasCode = (url: URL | HTMLAnchorElement | Location = location): boo
628
629
|| isBlame ( url ) ;
629
630
630
631
addTests ( 'hasFiles' , combinedTestOnly ) ;
631
- export const hasFiles = ( url : URL | HTMLAnchorElement | Location = location ) : boolean => // Has a list of files
632
+ /** Has a list of files */
633
+ export const hasFiles = ( url : URL | HTMLAnchorElement | Location = location ) : boolean =>
632
634
isCommit ( url )
633
635
|| isCompare ( url )
634
636
|| isPRFiles ( url ) ;
You can’t perform that action at this time.
0 commit comments