feat(FN-4606): complete Step 2 — add worktree path resolver

Ref: Runfusion/Fusion#321
Fusion-Task-Id: FN-4606
Fusion-Task-Lineage: 94b23f37-944e-4bcd-bfa1-67d0a8c0a267
This commit is contained in:
Fusion
2026-05-15 08:07:49 -07:00
committed by gsxdsm
parent e3cad24c41
commit f00df58eb7
3 changed files with 88 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ import { worktreePoolLog } from "./logger.js";
const execAsync = promisify(exec);
function canonicalizePath(path: string): string {
export function canonicalizePath(path: string): string {
try {
return realpathSync(path);
} catch {