feat(FN-4625): complete Step 7 — verification and docs updates
Fusion-Task-Id: FN-4625 Fusion-Task-Lineage: c1d9b414-b5dd-4786-ba51-0b8adec4acf5
This commit is contained in:
committed by
gsxdsm
parent
7c364da077
commit
8b371bae04
@@ -21,6 +21,7 @@ import {
|
||||
} from "./worktrunk-installer.js";
|
||||
import {
|
||||
handleWorktrunkOperationFailure,
|
||||
type WorktreeOperationResult,
|
||||
type WorktrunkOpName,
|
||||
} from "./worktrunk-failure-handler.js";
|
||||
import type { RunAuditor } from "./run-audit.js";
|
||||
@@ -125,7 +126,7 @@ export async function acquireTaskWorktree(opts: AcquireTaskWorktreeOptions): Pro
|
||||
runContext,
|
||||
runAudit: audit,
|
||||
notify: ({ op: failedOp, stderr: failedStderr }) => notifyFallback(failedOp, failedStderr),
|
||||
nativeFallback: nativeFallback as (() => Promise<any>) | undefined,
|
||||
nativeFallback: nativeFallback as (() => Promise<WorktreeOperationResult>) | undefined,
|
||||
});
|
||||
if (disposition.kind === "fallback-native") {
|
||||
return disposition.result;
|
||||
|
||||
Reference in New Issue
Block a user