Fix RecordingStore::create

Bug introduced in #225
This commit is contained in:
Markus Unterwaditzer
2025-04-03 22:01:57 +02:00
committed by Will Greenberg
parent b0f5296c20
commit df8a1f5606

View File

@@ -116,13 +116,12 @@ impl RecordingStore {
where
P: AsRef<Path>,
{
let manifest_path = path.as_ref().join("manifest.toml");
fs::create_dir_all(&path)
.await
.map_err(RecordingStoreError::OpenDirError)?;
let mut store = RecordingStore {
path: manifest_path,
path: path.as_ref().to_owned(),
manifest: Manifest {
entries: Vec::new()
},