diff --git a/CHANGELOG.md b/CHANGELOG.md index 4788a9f..b0c3c24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,7 +35,7 @@ Categories Used: ### Tweaks - CI refactor [\#578](https://github.com/ouch-org/ouch/pull/578) ([cyqsimon](https://github.com/cyqsimon)) -- Use a more unique name for temporary decompression path [\#725](https://github.com/ouch-org/ouch/pull/725) ([valoq](https://github.com/valoq)) +- Use a prefix `tmp-ouch-` for temporary decompression path name to avoid conflicts [\#725](https://github.com/ouch-org/ouch/pull/725) ([valoq](https://github.com/valoq)) & [\#788](https://github.com/ouch-org/ouch/pull/788) ([talis-fb](https://github.com/talis-fb)) - Run clippy for tests too [\#738](https://github.com/ouch-org/ouch/pull/738) ([marcospb19](https://github.com/marcospb19)) ### Improvements diff --git a/src/commands/decompress.rs b/src/commands/decompress.rs index 981376f..036d1d2 100644 --- a/src/commands/decompress.rs +++ b/src/commands/decompress.rs @@ -346,7 +346,7 @@ fn smart_unpack( question_policy: QuestionPolicy, ) -> crate::Result> { assert!(output_dir.exists()); - let temp_dir = tempfile::Builder::new().prefix(".tmp-ouch-").tempdir_in(output_dir)?; + let temp_dir = tempfile::Builder::new().prefix("tmp-ouch-").tempdir_in(output_dir)?; let temp_dir_path = temp_dir.path(); info_accessible(format!(