Skip to content

Commit 864ee03

Browse files
authored
Flush default files, to avoid empty base files errors
2 parents a007eb4 + 82b710a commit 864ee03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ async fn init_file_if_not_exists(
4343

4444
if let Some(text) = text {
4545
file.write_all(text).await?;
46+
file.flush().await?;
4647
}
4748
}
4849
Ok(())

0 commit comments

Comments
 (0)