Flush BufWriter before exiting
This commit is contained in:
parent
5acb4c6396
commit
c6f879c2a5
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ pub async fn export(vault: &Vault, room: String, file: &Path) -> anyhow::Result<
|
|||
}
|
||||
println!("Exported {exported_trees} trees, {exported_msgs} messages in total");
|
||||
|
||||
file.flush()?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue