save changes after review completes
This commit is contained in:
parent
71830c6bd5
commit
e88de1aed3
|
|
@ -1,6 +1,6 @@
|
|||
import * as vm from "../vm.ts"
|
||||
import { spinner } from "../spinner.ts"
|
||||
import { requireSession } from "./helpers.ts"
|
||||
import { requireSession, saveChanges } from "./helpers.ts"
|
||||
|
||||
export async function action(branch: string, opts: { print?: boolean }) {
|
||||
const { session } = await requireSession(branch)
|
||||
|
|
@ -19,4 +19,6 @@ export async function action(branch: string, opts: { print?: boolean }) {
|
|||
spin.succeed("Session ready")
|
||||
await vm.claude(session.worktree, { prompt })
|
||||
}
|
||||
|
||||
await saveChanges(session.worktree, session.branch)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user