Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(ci): rustfmt event_driven_capture.rs (new drift reds Code Quality)

Louis Beaumontde0988e082ec
diff --git a/crates/screenpipe-engine/src/event_driven_capture.rs b/crates/screenpipe-engine/src/event_driven_capture.rs
index 4f392742d..3c830d7bb 100644
--- a/crates/screenpipe-engine/src/event_driven_capture.rs
+++ b/crates/screenpipe-engine/src/event_driven_capture.rs
@@ -2043,9 +2043,10 @@ async fn do_capture(
// Mirror the downstream content-dedup gate: a non-empty walk
// whose hash matches the previous frame (and which is dedup
// eligible) won't be stored — count it as deduped.
- let is_dedup = dedup_applies(trigger, hd_active, in_meeting, last_db_write.elapsed())
- && previous_content_hash
- .is_some_and(|prev| prev == snap.content_hash as i64 && prev != 0);
+ let is_dedup =
+ dedup_applies(trigger, hd_active, in_meeting, last_db_write.elapsed())
+ && previous_content_hash
+ .is_some_and(|prev| prev == snap.content_hash as i64 && prev != 0);
let outcome = if is_dedup {
crate::ui_recorder::TreeWalkOutcome::Deduped {
duration_ms,