v2rmp 0.4.5

rmpca โ€” Route Optimization TUI & Agent Engine
Documentation
1
2
3
4
5
6
๐Ÿงน [Remove unwrap in src/app.rs]

๐ŸŽฏ **What:** Removed the `unwrap()` in `src/app.rs` when getting the parent directory path in `refresh_entries`.
๐Ÿ’ก **Why:** Using `unwrap()` can cause panics if the parent directory does not exist or if the value is `None`. Using `if let Some(parent) = self.current_path.parent()` is safer and cleaner.
โœ… **Verification:** Verified by checking that there are no remaining instances of `unwrap()` in the file, and that both `cargo clippy` and `cargo test` run without errors or warnings.
โœจ **Result:** Improved codebase safety and readability.