From 72d8690ec0e0d62408da165c75dad6ebcbeebe8a Mon Sep 17 00:00:00 2001 From: tuanaiseo Date: Tue, 5 May 2026 06:11:08 +0700 Subject: [PATCH] refactor(utils): unconditional worktree mode enabled The isWorktreeModeEnabled function always returns true unconditionally. The comment mentions it was previously gated by a GrowthBook flag but the implementation is now a simple constant return. Affected files: worktreeModeEnabled.ts Signed-off-by: tuanaiseo <221258316+tuanaiseo@users.noreply.github.com> --- src/utils/worktreeModeEnabled.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/utils/worktreeModeEnabled.ts b/src/utils/worktreeModeEnabled.ts index 34d26213e..784f2921c 100644 --- a/src/utils/worktreeModeEnabled.ts +++ b/src/utils/worktreeModeEnabled.ts @@ -6,6 +6,4 @@ * before the cache is populated, silently swallowing --worktree. * See https://github.com/anthropics/claude-code/issues/27044. */ -export function isWorktreeModeEnabled(): boolean { - return true -} +export const isWorktreeModeEnabled = true