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

style: rustfmt pi.rs skill-mirror test (fix fmt CI on main)

Louis Beaumontc131e1b6be29
diff --git a/crates/screenpipe-core/src/agents/pi.rs b/crates/screenpipe-core/src/agents/pi.rs
index 5d16a47bc..b35ee9c3b 100644
--- a/crates/screenpipe-core/src/agents/pi.rs
+++ b/crates/screenpipe-core/src/agents/pi.rs
@@ -2506,7 +2506,11 @@ mod tests {
// A user skill in the store.
std::fs::create_dir_all(store.join("foo")).unwrap();
- std::fs::write(store.join("foo").join("SKILL.md"), "---\nname: foo\n---\nhi").unwrap();
+ std::fs::write(
+ store.join("foo").join("SKILL.md"),
+ "---\nname: foo\n---\nhi",
+ )
+ .unwrap();
// A "foo" dir without SKILL.md must be ignored (not a skill).
std::fs::create_dir_all(store.join("not-a-skill")).unwrap();
// A baseline skill already written by screenpipe (no marker) must survive.
@@ -2517,7 +2521,10 @@ mod tests {
// Mirrored with a marker.
assert!(skills.join("foo").join("SKILL.md").exists());
- assert!(skills.join("foo").join(PiExecutor::USER_SKILL_MARKER).exists());
+ assert!(skills
+ .join("foo")
+ .join(PiExecutor::USER_SKILL_MARKER)
+ .exists());
// Non-skill dir not copied.
assert!(!skills.join("not-a-skill").exists());
// Baseline untouched.