Change the logic around how we load our config.

The previous logic that was intended to find the first non-empty
filename that represented a valid file location was wrong. Replaced with
a simpler filter-based version.

Additionally, if the user provides a specific configuration filename, we
no longer fall back to the defaults if it is not found. Instead we just
err out and inform them that the file the specified was not found.
This commit is contained in:
2022-04-02 08:45:30 -05:00
parent 69177ffa17
commit 96ee649bf6
3 changed files with 10 additions and 17 deletions

View File

@ -1 +1 @@
const PTK_VERSION* = "1.0.13"
const PTK_VERSION* = "1.0.14"