mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Merge pull request #1686 from RooVetGit/await_problems
Fix getWorkspaceProblems to use an await
This commit is contained in:
commit
ec621cb862
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ export async function parseMentions(text: string, cwd: string, urlContentFetcher
|
|||
}
|
||||
} else if (mention === "problems") {
|
||||
try {
|
||||
const problems = getWorkspaceProblems(cwd)
|
||||
const problems = await getWorkspaceProblems(cwd)
|
||||
parsedText += `\n\n<workspace_diagnostics>\n${problems}\n</workspace_diagnostics>`
|
||||
} catch (error) {
|
||||
parsedText += `\n\n<workspace_diagnostics>\nError fetching diagnostics: ${error.message}\n</workspace_diagnostics>`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue