mirror of
https://github.com/cline/cline.git
synced 2026-09-24 23:20:16 +08:00
Fixed issue with checkpoint commit hashes (#2543)
This commit is contained in:
@@ -166,8 +166,8 @@ class CheckpointTracker {
|
||||
"--allow-empty": null,
|
||||
"--no-verify": null,
|
||||
})
|
||||
const commitHash = result.commit || ""
|
||||
console.warn(`Checkpoint commit created.`)
|
||||
const commitHash = (result.commit || "").replace(/^HEAD\s+/, "")
|
||||
console.warn(`Checkpoint commit created: `, commitHash)
|
||||
|
||||
const durationMs = Math.round(performance.now() - startTime)
|
||||
telemetryService.captureCheckpointUsage(this.taskId, "commit_created", durationMs)
|
||||
|
||||
Reference in New Issue
Block a user