summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorStephan Dilly <dilly.stephan@gmail.com>2020-04-28 11:15:05 +0200
committerGitHub <noreply@github.com>2020-04-28 11:15:05 +0200
commitb0fdf5049c462e6fa498916ca681839acc385c95 (patch)
tree5f7ea7e2c2fcd3e7303bc0b0b89ca4aab6ecc421 /src/main.rs
parent2311098a1793bdbed7efa6d799f9d221d26557f8 (diff)
Switch to a tree view for changed files list (#37)
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
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,