diff options
author | Stephan Dilly <dilly.stephan@gmail.com> | 2020-04-28 11:15:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 11:15:05 +0200 |
commit | b0fdf5049c462e6fa498916ca681839acc385c95 (patch) | |
tree | 5f7ea7e2c2fcd3e7303bc0b0b89ca4aab6ecc421 /src/main.rs | |
parent | 2311098a1793bdbed7efa6d799f9d221d26557f8 (diff) |
Switch to a tree view for changed files list (#37)
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index f128bef9..90b53d17 100644 --- a/src/main.rs +++ b/src/main.rs @@ -155,7 +155,7 @@ fn setup_logging() { let mut path = dirs::cache_dir().unwrap(); path.push("gitui"); path.push("gitui.log"); - fs::create_dir(path.parent().unwrap()).unwrap_or_default(); + fs::create_dir_all(path.parent().unwrap()).unwrap(); let _ = WriteLogger::init( LevelFilter::Trace, |