mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
* fix: handle null/empty custom modes files to prevent 'Cannot read properties of null' error - Fix SimpleInstaller to ensure existingData is always an object after yaml.parse - Fix CustomModesManager.parseYamlSafely to return empty object instead of null - Ensure customModes array is always initialized in both install and remove operations - Add tests for empty/null file handling scenarios - Update existing tests to match correct behavior * fix: handle null/undefined settings in updateModesInFile and loadModesFromFile - Ensure settings object exists before accessing customModes property - Initialize customModes as empty array if undefined - Prevent 'Cannot read properties of null' error during mode import - Add proper validation in loadModesFromFile before schema check |
||
|---|---|---|
| .. | ||
| assistant-message | ||
| checkpoints | ||
| condense | ||
| config | ||
| context-tracking | ||
| diff | ||
| environment | ||
| ignore | ||
| mentions | ||
| prompts | ||
| protect | ||
| sliding-window | ||
| task | ||
| task-persistence | ||
| tools | ||
| webview | ||