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.
isEmptyRepo
1 parent 6e8d814 commit 7d91bb9Copy full SHA for 7d91bb9
index.ts
@@ -249,6 +249,8 @@ collect.set('isRepo', [
249
250
export const isEmptyRepoRoot = (): boolean => isRepoRoot() && exists('.blankslate');
251
252
+export const isEmptyRepo = (): boolean => exists('[aria-label="Cannot fork because repository is empty."]');
253
+
254
export const isRepoTaxonomyConversationList = (url: URL | Location = location): boolean => /^labels\/.+|^milestones\/\d+(?!\/edit)/.test(getRepoPath(url)!);
255
collect.set('isRepoTaxonomyConversationList', [
256
'https://github.com/sindresorhus/refined-github/labels/Priority%3A%20critical',
0 commit comments