Skip to content

Commit 453a5c9

Browse files
committed
fix: remove unnecessary --no-verify option from commit arguments in saveCheckpoint method
1 parent e10d38c commit 453a5c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/checkpoints/ShadowCheckpointService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ export abstract class ShadowCheckpointService extends EventEmitter {
240240

241241
const startTime = Date.now()
242242
await this.stageAll(this.git)
243-
const commitArgs = options?.allowEmpty ? { "--allow-empty": null, "--no-verify": null } : undefined
243+
const commitArgs = options?.allowEmpty ? { "--allow-empty": null } : undefined
244244
const result = await this.git.commit(message, commitArgs)
245245
const fromHash = this._checkpoints[this._checkpoints.length - 1] ?? this.baseHash!
246246
const toHash = result.commit || fromHash

0 commit comments

Comments
 (0)