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");
|
println!("configuration file doesn't exist, creating");
|
||||||
match tokio::fs::OpenOptions::new()
|
match tokio::fs::OpenOptions::new()
|
||||||
.write(true)
|
.write(true)
|
||||||
|
.create(true)
|
||||||
.open(&config_file)
|
.open(&config_file)
|
||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue