(args: string[])
| 453 | return result.text().trim() |
| 454 | } |
| 455 | const gitRun = async (args: string[]) => { |
| 456 | const result = await Effect.runPromise(gitSvc.run(args, { cwd: ctx.worktree })) |
| 457 | if (result.exitCode !== 0) { |
| 458 | throw new Process.RunFailedError(["git", ...args], result.exitCode, result.stdout, result.stderr) |
| 459 | } |
| 460 | return result |
| 461 | } |
| 462 | const gitStatus = (args: string[]) => Effect.runPromise(gitSvc.run(args, { cwd: ctx.worktree })) |
| 463 | const commitChanges = async (summary: string, actor?: string) => { |
| 464 | const args = ["commit", "-m", summary] |
no test coverage detected