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