()
| 717 | } |
| 718 | |
| 719 | async function loadDefaultHTTP(): Promise<object> { |
| 720 | try { |
| 721 | const mod = await import("isomorphic-git/http/web"); |
| 722 | return mod.default; |
| 723 | } catch (cause) { |
| 724 | throw new Error("Failed to load @cloudflare/computer/git's bundled HTTP transport.", { cause }); |
| 725 | } |
| 726 | } |
| 727 | |
| 728 | async function loadCreatePatch(): Promise<CreatePatchFn> { |
| 729 | try { |