mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-10 03:28:03 +00:00
initialize gitIgnoreController correctly
This commit is contained in:
parent
d74a9b1cfe
commit
8dcddb4966
1 changed files with 5 additions and 0 deletions
|
|
@ -344,6 +344,7 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
|
|||
this.taskNumber = -1
|
||||
|
||||
this.rooIgnoreController = new RooIgnoreController(this.cwd)
|
||||
this.gitIgnoreController = new GitIgnoreController(this.cwd)
|
||||
this.rooProtectedController = new RooProtectedController(this.cwd)
|
||||
this.fileContextTracker = new FileContextTracker(provider, this.taskId)
|
||||
|
||||
|
|
@ -351,6 +352,10 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
|
|||
console.error("Failed to initialize RooIgnoreController:", error)
|
||||
})
|
||||
|
||||
this.gitIgnoreController.initialize().catch((error) => {
|
||||
console.error("Failed to initialize GitIgnoreController:", error)
|
||||
})
|
||||
|
||||
this.apiConfiguration = apiConfiguration
|
||||
this.api = buildApiHandler(apiConfiguration)
|
||||
this.autoApprovalHandler = new AutoApprovalHandler()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue