We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
hasCode
1 parent d530f8e commit c0385b8Copy full SHA for c0385b8
index.ts
@@ -596,6 +596,8 @@ collect.set('hasCode', combinedTestOnly);
596
export const hasCode = (url: URL | HTMLAnchorElement | Location = location): boolean => // Static code, not the editor
597
hasComments(url)
598
|| isRepoTree(url) // Readme files
599
+ || isRepoSearch(url)
600
+ || isGlobalSearchResults(url)
601
|| isSingleFile(url)
602
|| isGist(url)
603
|| isCompare(url)
0 commit comments