summaryrefslogtreecommitdiffstats
path: root/atuin-client/src
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@elliehuxtable.com>2024-02-05 10:28:55 +0100
committerGitHub <noreply@github.com>2024-02-05 09:28:55 +0000
commit6a2576fc5bb2b60df3ad0563d594d6742e27532b (patch)
tree9e8b957f3dc6450df06ff1998fe5b3a2cb5ba863 /atuin-client/src
parent3ff2e2552f5b4db9c8b8e127ff833873902258c0 (diff)
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
Diffstat (limited to 'atuin-client/src')
-rw-r--r--atuin-client/src/history/store.rs8
1 files changed, 7 insertions, 1 deletions
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;