Merge pull request #93 from PR0M3TH3AN/codex/format-and-commit-watcher.rs

Format watcher
This commit is contained in:
thePR0M3TH3AN
2025-05-25 15:17:40 -04:00
committed by GitHub

View File

@@ -109,7 +109,8 @@ struct RemoveTracker {
impl RemoveTracker {
fn record(&mut self, path: &PathBuf) {
if let Ok(h) = Handle::from_path(path) {
self.map.insert(handle_key(&h), (path.clone(), Instant::now()));
self.map
.insert(handle_key(&h), (path.clone(), Instant::now()));
return;
}