fixed panic on file not existing
This commit is contained in:
parent
81f94e2a69
commit
8097f3a89c
|
|
@ -130,6 +130,7 @@ impl From<Builder> for ConfigManager {
|
|||
let mut file = OpenOptions::new()
|
||||
.write(true)
|
||||
.read(true)
|
||||
.create(true)
|
||||
.open(builder.file_path)
|
||||
.ok()
|
||||
.unwrap();
|
||||
|
|
|
|||
Loading…
Reference in New Issue