mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
fix: remove unnecessary --no-verify option from commit arguments in saveCheckpoint method
This commit is contained in:
parent
e10d38c6c0
commit
453a5c9665
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ export abstract class ShadowCheckpointService extends EventEmitter {
|
|||
|
||||
const startTime = Date.now()
|
||||
await this.stageAll(this.git)
|
||||
const commitArgs = options?.allowEmpty ? { "--allow-empty": null, "--no-verify": null } : undefined
|
||||
const commitArgs = options?.allowEmpty ? { "--allow-empty": null } : undefined
|
||||
const result = await this.git.commit(message, commitArgs)
|
||||
const fromHash = this._checkpoints[this._checkpoints.length - 1] ?? this.baseHash!
|
||||
const toHash = result.commit || fromHash
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue