You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sounds great! I'm happy to review any WIP, if you get started but have questions.
I'm not sure Data.List.find would be useful here, since you probably want to iterate over a list of paths in IO and halt on the first one that exists. I suspect you'd just want to change loadConfigFrom to accept [ConfigSource], and then configFile to configFiles.
For testing, there is a way to run an RIO App a with a mocked file system (example), which means you should be able to call loadConfigFrom with various files present and assert the desired outcomes.
Check the following in order, first found is used.
.restyled.yaml
(current).restyled.yml
.github/restyled.yaml
.github/restyled.yml
The text was updated successfully, but these errors were encountered: