diff --git a/index.ts b/index.ts index fe4450b..269ee86 100644 --- a/index.ts +++ b/index.ts @@ -400,6 +400,9 @@ TEST: addTests('hasRepoHeader', combinedTestOnly); // On empty repos, there's only isRepoHome; this element is found in `` export const isEmptyRepoRoot = (): boolean => isRepoHome() && !exists('link[rel="canonical"]'); +/** + * @deprecated Doesn't work anymore. Use `isEmptyRepoRoot` or API instead. + */ export const isEmptyRepo = (): boolean => exists('[aria-label="Cannot fork because repository is empty."]'); export const isPublicRepo = (): boolean => exists('meta[name="octolytics-dimension-repository_public"][content="true"]');