diff --git a/crates/path-cli/src/cmd_cache.rs b/crates/path-cli/src/cmd_cache.rs index a386019c..88c1b7f4 100644 --- a/crates/path-cli/src/cmd_cache.rs +++ b/crates/path-cli/src/cmd_cache.rs @@ -48,7 +48,10 @@ pub fn run(op: CacheOp) -> Result<()> { CacheOp::Ls => run_ls(), CacheOp::Rm { id } => run_rm(&id), #[cfg(not(target_os = "emscripten"))] - CacheOp::Sync { types, project_under } => run_sync(types, project_under), + CacheOp::Sync { + types, + project_under, + } => run_sync(types, project_under), } } @@ -81,7 +84,12 @@ fn run_sync(types: Vec, project_under: Option) -> Result< let explicit = !types.is_empty(); let types = resolve_types(&types); let bundle = HarnessBundle::from_environment(); - let outcomes = sync_bundle(&bundle, &types, project_under.as_deref(), &mut Progress::new())?; + let outcomes = sync_bundle( + &bundle, + &types, + project_under.as_deref(), + &mut Progress::new(), + )?; eprint!("{}", render_summary(&outcomes, explicit)); Ok(()) } diff --git a/crates/path-cli/tests/integration.rs b/crates/path-cli/tests/integration.rs index af537c1b..031336c3 100644 --- a/crates/path-cli/tests/integration.rs +++ b/crates/path-cli/tests/integration.rs @@ -912,7 +912,14 @@ fn cache_sync_project_under_limits_ingestion() { cmd() .env("HOME", home.path()) .env("TOOLPATH_CONFIG_DIR", cfg.path()) - .args(["p", "cache", "sync", "claude", "--project-under", "/nowhere"]) + .args([ + "p", + "cache", + "sync", + "claude", + "--project-under", + "/nowhere", + ]) .assert() .success() .stderr(predicate::str::contains("0 new, 0 updated, 0 unchanged"));