Skip to content

Commit 5eb7147

Browse files
authored
Add isSingleGist to hasComments (#50)
1 parent 0964a57 commit 5eb7147

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,8 @@ export const hasComments = (url: URL | HTMLAnchorElement | Location = location):
433433
isPR(url) ||
434434
isIssue(url) ||
435435
isCommit(url) ||
436-
isOrganizationDiscussion(url);
436+
isOrganizationDiscussion(url) ||
437+
isSingleGist(url);
437438

438439
collect.set('hasRichTextEditor', combinedTestOnly);
439440
export const hasRichTextEditor = (url: URL | HTMLAnchorElement | Location = location): boolean =>

0 commit comments

Comments
 (0)