File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1680,9 +1680,11 @@ export class Cline extends EventEmitter<ClineEvents> {
16801680 }
16811681
16821682 const recentlyModifiedFiles = this . fileContextTracker . getAndClearCheckpointPossibleFile ( )
1683+
16831684 if ( recentlyModifiedFiles . length > 0 ) {
1684- // TODO: we can track what file changes were made and only checkpoint those files, this will be save storage
1685- this . checkpointSave ( )
1685+ // TODO: We can track what file changes were made and only
1686+ // checkpoint those files, this will be save storage.
1687+ await this . checkpointSave ( )
16861688 }
16871689
16881690 /*
@@ -2508,6 +2510,7 @@ export class Cline extends EventEmitter<ClineEvents> {
25082510 } ,
25092511 { interval, timeout } ,
25102512 )
2513+
25112514 return service
25122515 } catch ( err ) {
25132516 return undefined
@@ -2580,6 +2583,7 @@ export class Cline extends EventEmitter<ClineEvents> {
25802583 this . providerRef
25812584 . deref ( )
25822585 ?. log ( "[checkpointSave] checkpoints didn't initialize in time, disabling checkpoints for this task" )
2586+
25832587 this . enableCheckpoints = false
25842588 return
25852589 }
You can’t perform that action at this time.
0 commit comments