it didnt actually create the file
This commit is contained in:
parent
4b3c723ce1
commit
8e4369fa99
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ pub async fn load() -> Config {
|
|||
println!("configuration file doesn't exist, creating");
|
||||
match tokio::fs::OpenOptions::new()
|
||||
.write(true)
|
||||
.create(true)
|
||||
.open(&config_file)
|
||||
.await
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue