Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
phip1611 committed Dec 17, 2024
1 parent 1d18746 commit c15ff51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/mp3-samples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ fn test_out_dir() -> PathBuf {
});
let path = path.join("test_generated");
if !path.exists() {
std::fs::create_dir(path.clone()).unwrap();
// This can fail, as tests are run in parallel.
let _ = std::fs::create_dir(path.clone());
}
path
}
Expand Down
3 changes: 2 additions & 1 deletion src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ fn test_out_dir() -> PathBuf {
});
let path = path.join("test_generated");
if !path.exists() {
std::fs::create_dir(path.clone()).unwrap();
// This can fail, as tests are run in parallel.
let _ = std::fs::create_dir(path.clone());
}
path
}
Expand Down

0 comments on commit c15ff51

Please sign in to comment.