diff --git a/gitnexus-cursor-integration/hooks/gitnexus-hook.cjs b/gitnexus-cursor-integration/hooks/gitnexus-hook.cjs index f97cd2d56..7e4f2e384 100644 --- a/gitnexus-cursor-integration/hooks/gitnexus-hook.cjs +++ b/gitnexus-cursor-integration/hooks/gitnexus-hook.cjs @@ -360,10 +360,7 @@ function runGitNexusCli(cliPath, args, cwd, timeout) { windowsHide: true, }); } - const npxTimeout = Math.min( - timeout + 5000, - CURSOR_HOST_BUDGET_MS - CURSOR_NPX_HEADROOM_MS, - ); + const npxTimeout = Math.min(timeout + 5000, CURSOR_HOST_BUDGET_MS - CURSOR_NPX_HEADROOM_MS); return spawnSync(isWin ? 'npx.cmd' : 'npx', ['-y', 'gitnexus', ...args], { encoding: 'utf-8', timeout: npxTimeout,