From 6a2576fc5bb2b60df3ad0563d594d6742e27532b Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Mon, 5 Feb 2024 10:28:55 +0100 Subject: chore(ci): run rust build/test/check on 3 platforms (#1675) * chore(ci): run rust build/test/check on 3 platforms * need to properly test windows * do not need to strip here, and windows has a suffix anyway --- atuin-client/src/history/store.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'atuin-client/src/history') diff --git a/atuin-client/src/history/store.rs b/atuin-client/src/history/store.rs index c09c7573..08c55c51 100644 --- a/atuin-client/src/history/store.rs +++ b/atuin-client/src/history/store.rs @@ -211,7 +211,13 @@ impl HistoryStore { pub async fn incremental_build(&self, database: &dyn Database, ids: &[RecordId]) -> Result<()> { for id in ids { - let record = self.store.get(*id).await?; + let record = self.store.get(*id).await; + + let record = if let Ok(record) = record { + record + } else { + continue; + }; if record.tag != HISTORY_TAG { continue; -- cgit v1.3.1