forked from akanyan/STARTLINER
fix: create a data dir for fern
This commit is contained in:
@ -133,6 +133,8 @@ impl AppData {
|
||||
}
|
||||
|
||||
fn init_logger(cfg: &GlobalConfig) {
|
||||
_ = std::fs::create_dir_all(util::data_dir());
|
||||
|
||||
let mut fern_builder;
|
||||
let colors = ColoredLevelConfig::new()
|
||||
.debug(Color::Green)
|
||||
|
Reference in New Issue
Block a user