Skip to content

Commit

Permalink
hide lock files
Browse files Browse the repository at this point in the history
marking them as hidden makes it easier to find what you are looking for
  • Loading branch information
mati865 authored and davidlattimore committed Feb 25, 2025
1 parent e813b78 commit 61b83c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wild/tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -920,10 +920,10 @@ fn build_obj(

// If multiple threads try to create a file at the same time, only one should do so and the
// others should wait.
let lock_path = output_path.with_extension(format!(
"{}.lock",
let lock_path = output_path.with_file_name(format!(
".{}.lock",
output_path
.extension()
.file_name()
.and_then(|ext| ext.to_str())
.unwrap_or_default()
));
Expand Down

0 comments on commit 61b83c3

Please sign in to comment.