Run clippy fix

This commit is contained in:
Cameron
2026-01-14 13:17:58 -05:00
parent e9729e9956
commit e2d6cd7258
19 changed files with 123 additions and 158 deletions

View File

@@ -74,18 +74,16 @@ async fn main() -> Result<()> {
let mut dao_instance = SqliteCalendarEventDao::new();
// Check if event exists
if args.skip_existing {
if let Ok(exists) = dao_instance.event_exists(
if args.skip_existing
&& let Ok(exists) = dao_instance.event_exists(
&context,
event.event_uid.as_deref().unwrap_or(""),
event.start_time,
) {
if exists {
)
&& exists {
*skipped_count.lock().unwrap() += 1;
continue;
}
}
}
// Generate embedding if requested (blocking call)
let embedding = if let Some(ref ollama_client) = ollama {