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:
parent
0e7d2204cd
commit
f5c597a81d
1 changed files with 5 additions and 1 deletions
|
|
@ -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(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue