mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-08 03:07:53 +00:00
Update comment
This commit is contained in:
parent
901adc580f
commit
6119cb1aaf
1 changed files with 2 additions and 2 deletions
|
|
@ -739,9 +739,9 @@ export class Cline {
|
|||
this.urlContentFetcher.closeBrowser()
|
||||
this.browserSession.closeBrowser()
|
||||
|
||||
// If we're not streaming then `abortStream` (which reverts the diff
|
||||
// view changes) won't be called, so we need to revert the changes here.
|
||||
if (this.isStreaming && this.diffViewProvider.isEditing) {
|
||||
// Need to await for when we want to make sure directories/files are
|
||||
// reverted before re-starting the task from a checkpoint.
|
||||
await this.diffViewProvider.revertChanges()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue