Fix issue where specifying a config-file that needs to be upgraded ended up upgrading the user config file instead

This commit is contained in:
Micah Jerome Ellison 2021-10-09 13:59:10 -07:00
parent 70aa5989ea
commit fc6d4506cf
3 changed files with 20 additions and 12 deletions

View file

@ -14,7 +14,6 @@ Feature: Multiple journals
Given we use the config "multiple.yaml"
Given we use the config "basic_onefile.yaml"
When we run "jrnl --cf multiple.yaml this goes to default"
Given we use the config "basic_onefile.yaml"
When we run "jrnl -1"
Then the output should not contain "this goes to default"
When we run "jrnl --cf multiple.yaml -1"