Remove check if the output file exist

Why did I even do that?
pull/1/head
Trivernis 5 years ago
parent fddf89c4c4
commit eab4a4a7cb

@ -1,6 +1,6 @@
[package]
name = "snekdown"
version = "0.8.3"
version = "0.8.4"
authors = ["trivernis <trivernis@protonmail.com>"]
edition = "2018"
license-file = "LICENSE"

@ -29,15 +29,6 @@ fn main() {
);
return;
}
if !opt.output.exists() {
println!(
"{} The output file {} could not be found{}",
Fg(Red),
opt.output.to_str().unwrap(),
style::Reset
);
return;
}
let start = Instant::now();
let mut parser = Parser::new_from_file(opt.input.to_str().unwrap().to_string()).unwrap();
let document = parser.parse();

Loading…
Cancel
Save