diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-04-03 09:49:48 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-04-03 09:49:48 +0300 |
commit | 39a6b45790c148c44e4940c89eca5bce95d99a92 (patch) | |
tree | e5511789be43d65994cbe194e02edd5fc8f348b0 /src | |
parent | 575315c31c9c9ee5c5b7a0b8dea25e860a873752 (diff) | |
download | jt2-39a6b45790c148c44e4940c89eca5bce95d99a92.tar.gz |
fix: read config.yaml in default config dir, not the dir itself
Diffstat (limited to 'src')
-rw-r--r-- | src/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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)? |