Skip to content

Commit

Permalink
Merge pull request #321 from a-moreira/issue-296
Browse files Browse the repository at this point in the history
allow ouch to decompress archive into existing folder
  • Loading branch information
marcospb19 authored Dec 11, 2022
2 parents d4f181b + 3e43f9d commit 7b26af2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,6 @@ pub fn run(
// The directory that will contain the output files
// We default to the current directory if the user didn't specify an output directory with --dir
let output_dir = if let Some(dir) = output_dir {
if !utils::clear_path(&dir, question_policy)? {
// User doesn't want to overwrite
return Ok(());
}
utils::create_dir_if_non_existent(&dir)?;
dir
} else {
Expand Down

0 comments on commit 7b26af2

Please sign in to comment.