mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-10 22:41:14 +00:00
Minor fixes
This commit is contained in:
parent
b58d3dd622
commit
b82f2b7691
2 changed files with 3 additions and 3 deletions
|
|
@ -1850,7 +1850,7 @@ ${this.customInstructions.trim()}
|
|||
const busyTerminals = this.terminalManager.getTerminals(true)
|
||||
|
||||
if (busyTerminals.length > 0 || this.didEditFile) {
|
||||
await delay(500) // delay after saving file to let terminals/diagnostics catch up
|
||||
await delay(300) // delay after saving file to let terminals/diagnostics catch up
|
||||
}
|
||||
|
||||
if (busyTerminals.length > 0) {
|
||||
|
|
@ -1870,7 +1870,7 @@ ${this.customInstructions.trim()}
|
|||
d.severity === vscode.DiagnosticSeverity.Error || d.severity === vscode.DiagnosticSeverity.Warning
|
||||
)
|
||||
if (problems.length > 0) {
|
||||
diagnosticsDetails += `\n## ${path.relative(cwd, uri.fsPath)}:`
|
||||
diagnosticsDetails += `\n## ${path.relative(cwd, uri.fsPath)}`
|
||||
for (const diagnostic of problems) {
|
||||
let severity = diagnostic.severity === vscode.DiagnosticSeverity.Error ? "Error" : "Warning"
|
||||
const line = diagnostic.range.start.line + 1 // VSCode lines are 0-indexed
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ class DiagnosticsMonitor {
|
|||
return this.waitForUpdatedDiagnostics()
|
||||
}
|
||||
|
||||
private async waitForUpdatedDiagnostics(timeout: number = 500): Promise<FileDiagnostics> {
|
||||
private async waitForUpdatedDiagnostics(timeout: number = 300): Promise<FileDiagnostics> {
|
||||
return new Promise((resolve, reject) => {
|
||||
const timer = setTimeout(() => {
|
||||
cleanup()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue