Skip to content

Commit

Permalink
Add isSingleGist to hasComments (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
ts-ke committed Nov 14, 2020
1 parent 0964a57 commit 5eb7147
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,8 @@ export const hasComments = (url: URL | HTMLAnchorElement | Location = location):
isPR(url) ||
isIssue(url) ||
isCommit(url) ||
isOrganizationDiscussion(url);
isOrganizationDiscussion(url) ||
isSingleGist(url);

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

0 comments on commit 5eb7147

Please sign in to comment.