From 39a6b45790c148c44e4940c89eca5bce95d99a92 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 3 Apr 2021 09:49:48 +0300 Subject: fix: read config.yaml in default config dir, not the dir itself --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/config.rs b/src/config.rs index 5041492..3acfd90 100644 --- a/src/config.rs +++ b/src/config.rs @@ -66,7 +66,7 @@ impl Configuration { } path.to_path_buf() } - None => proj_dirs.config_dir().to_path_buf(), + None => proj_dirs.config_dir().to_path_buf().join("config.yaml"), }; let input = if filename.exists() { InputConfiguration::read(&filename)? -- cgit v1.2.1