mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
fix: resolve duplicate state variable declaration in multiApplyDiffTool.ts
- Renamed the second 'state' variable to 'providerState' to fix TypeScript compilation error - This resolves the CI failures in compile, unit test, and integration test jobs
This commit is contained in:
parent
353a9dab69
commit
47b04e12f3
1 changed files with 2 additions and 2 deletions
|
|
@ -412,8 +412,8 @@ Original error: ${errorMessage}`
|
|||
|
||||
// Apply HTML entity unescaping based on user setting
|
||||
let processedDiffItems = diffItems
|
||||
const state = (await cline.providerRef.deref()?.getState()) ?? {}
|
||||
const unescapeHtmlEntitiesInDiffs = (state as any).unescapeHtmlEntitiesInDiffs ?? false
|
||||
const providerState = (await cline.providerRef.deref()?.getState()) ?? {}
|
||||
const unescapeHtmlEntitiesInDiffs = (providerState as any).unescapeHtmlEntitiesInDiffs ?? false
|
||||
|
||||
if (unescapeHtmlEntitiesInDiffs && !cline.api.getModel().id.includes("claude")) {
|
||||
processedDiffItems = diffItems.map((item) => ({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue