From 1401e7ac6b2787c9da0a0b33ca4abecbcb269155 Mon Sep 17 00:00:00 2001 From: Konv Suu <2583695112@qq.com> Date: Wed, 18 Jun 2025 12:12:32 +0800 Subject: [PATCH] Rename `isFork` to `isForkingRepo` --- index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index eb08451..738b517 100644 --- a/index.ts +++ b/index.ts @@ -614,8 +614,8 @@ TEST: addTests('isRepoNetworkGraph', [ export const isForkedRepo = (): boolean => exists('meta[name="octolytics-dimension-repository_is_fork"][content="true"]'); -export const isFork = (url: URL | HTMLAnchorElement | Location = location): boolean => getRepo(url)?.path === 'fork'; -TEST: addTests('isFork', [ +export const isForkingRepo = (url: URL | HTMLAnchorElement | Location = location): boolean => getRepo(url)?.path === 'fork'; +TEST: addTests('isForkingRepo', [ 'https://github.com/refined-github/refined-github/fork', ]);