Add missing empty line when appending to existing file

This commit is contained in:
Thomas Gideon 2024-04-09 15:24:41 -04:00
parent 2edc3082d3
commit a5016082fc

View file

@ -127,7 +127,7 @@ async fn main() -> Result<()> {
Ok(exists) if exists => {
debug!("Appending {}", output);
let mut file = File::options().append(true).open(&output)?;
file.write("\n".as_bytes())?;
file.write("\n\n".as_bytes())?;
file
}
_ => {