We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff70019 commit 9795bb5Copy full SHA for 9795bb5
crates/cargo-codspeed/src/run.rs
@@ -180,7 +180,7 @@ fn get_raw_result_dir_from_workspace_root(workspace_root: &Path) -> PathBuf {
180
181
fn clear_raw_walltime_data(workspace_root: &Path) -> Result<()> {
182
let raw_results_dir = get_raw_result_dir_from_workspace_root(workspace_root);
183
- std::fs::remove_dir_all(&raw_results_dir).context("Failed to clear raw_results directory")?;
+ std::fs::remove_dir_all(&raw_results_dir).ok(); // ignore errors when the directory does not exist
184
std::fs::create_dir_all(&raw_results_dir).context("Failed to create raw_results directory")?;
185
Ok(())
186
}
0 commit comments