From 13428224e8e74bebf49aecd08886f5202b27d8b9 Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Mon, 5 Jan 2026 21:06:36 +0100 Subject: [PATCH] chore: remove needless comments --- app/client/lib/constants.ts | 1 - app/client/modules/repositories/tabs/info.tsx | 2 -- 2 files changed, 3 deletions(-) diff --git a/app/client/lib/constants.ts b/app/client/lib/constants.ts index 84464025..801c5768 100644 --- a/app/client/lib/constants.ts +++ b/app/client/lib/constants.ts @@ -1,2 +1 @@ -/** Default base path for local repositories */ export const REPOSITORY_BASE = "/var/lib/zerobyte/repositories"; diff --git a/app/client/modules/repositories/tabs/info.tsx b/app/client/modules/repositories/tabs/info.tsx index fea1e191..e22b8c6a 100644 --- a/app/client/modules/repositories/tabs/info.tsx +++ b/app/client/modules/repositories/tabs/info.tsx @@ -31,11 +31,9 @@ const getEffectiveLocalPath = (repository: Repository): string | null => { const config = repository.config as { name: string; path?: string; isExistingRepository?: boolean }; if (config.isExistingRepository) { - // Imported repositories use the path directly return config.path ?? null; } - // New repositories append the name to the base path const basePath = config.path || REPOSITORY_BASE; return `${basePath}/${config.name}`; };