feat(FN-4706): complete Step 2 — disable worktrunk auto-install path
Fusion-Task-Id: FN-4706 Fusion-Task-Lineage: 00e9207c-d2dc-4bc4-ae92-4604339bcbc2
This commit is contained in:
committed by
gsxdsm
parent
de98e31582
commit
3defcbe849
@@ -35,7 +35,7 @@ const _worktrunkBinaryCache = new Map<string, { binaryPath: string; resolvedAt:
|
||||
|
||||
export async function getWorktrunkBinary(
|
||||
settings: WorktrunkSettings,
|
||||
): Promise<{ binaryPath: string; source: "override" | "path" | "cached" | "installed-release" | "installed-cargo" }> {
|
||||
): Promise<{ binaryPath: string; source: "override" | "path" | "cached" }> {
|
||||
const cacheKey = `${process.env.HOME ?? ""}::${settings.binaryPath ?? ""}`;
|
||||
const cached = _worktrunkBinaryCache.get(cacheKey);
|
||||
if (cached) {
|
||||
|
||||
Reference in New Issue
Block a user