Browse Source
refactor: Improve configuration file modification robustness and error handling
refactor: Improve configuration file modification robustness and error handling
- Enhanced `modify_or_add_config()` function with more robust file modification approach - Added temporary file-based modification to prevent partial writes - Implemented additional file permission and existence checks - Improved error handling with more granular logging and error conditions - Ensured clean file modification and temporary file cleanuppull/217/head v0.0.77
1 changed files with 53 additions and 12 deletions
Write
Preview
Loading…
Cancel
Save
Reference in new issue