Skip to content

Commit 5a61cb3

Browse files
fix: output path may not be existent
1 parent 950ded9 commit 5a61cb3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ impl Args {
3636
return Err("The output path must point to file".to_string())
3737
}
3838

39-
if !self.output_file.exists() {
40-
return Err("The output file must be exist".to_string())
41-
}
42-
4339
Ok(self)
4440
}
4541
}

0 commit comments

Comments
 (0)