diff --git a/bin/src/qmdl_store.rs b/bin/src/qmdl_store.rs index 24bd024..d33c2b5 100644 --- a/bin/src/qmdl_store.rs +++ b/bin/src/qmdl_store.rs @@ -156,17 +156,11 @@ impl RecordingStore { } let new_entry = ManifestEntry::new(); let qmdl_filepath = new_entry.get_qmdl_filepath(&self.path); - let qmdl_file = File::options() - .create(true) - .write(true) - .open(&qmdl_filepath) + let qmdl_file = File::create(&qmdl_filepath) .await .map_err(RecordingStoreError::CreateFileError)?; let analysis_filepath = new_entry.get_analysis_filepath(&self.path); - let analysis_file = File::options() - .create(true) - .write(true) - .open(&analysis_filepath) + let analysis_file = File::create(&analysis_filepath) .await .map_err(RecordingStoreError::CreateFileError)?; self.manifest.entries.push(new_entry);