cultnet-rs fixture example: remove the store lock files it leaves

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-29 01:40:30 +02:00
commit f5c597a81d

View file

@ -272,5 +272,9 @@ fn write_record(path: &Path, key: &str, kind: &str, schema: &str, payload: Vec<u
payload,
stored_at: STORED_AT.into(),
schema_id: Some(schema.into()),
})
})?;
let mut lock = path.as_os_str().to_owned();
lock.push(".lock");
let _ = fs::remove_file(lock);
Ok(())
}