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 7c9b875 commit 22fedeaCopy full SHA for 22fedea
index.ts
@@ -404,6 +404,9 @@ export const isEmptyRepoRoot = (): boolean => isRepoHome() && exists([
404
'#empty-setup-clone-url',
405
].join(','));
406
407
+/**
408
+ * @deprecated Doesn't work anymore. Use `isEmptyRepoRoot` or API instead.
409
+ */
410
export const isEmptyRepo = (): boolean => exists('[aria-label="Cannot fork because repository is empty."]');
411
412
export const isPublicRepo = (): boolean => exists('meta[name="octolytics-dimension-repository_public"][content="true"]');
0 commit comments