-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update config detection to allow absent files
Previously, if a non-existent config file was passed via CLI, the app would error out. This will allow the app to continue even with a non-existent config file. This will prove useful for adwatchd where the app can be fully configured via CLI, for the interactive root command which can accept a `--config` argument (not necessarily present on the disk) and for cases where the default config file doesn't exist.
- Loading branch information
1 parent
7a18369
commit ad95fb4
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters