This fixes #455. I don't know if you want to refactor the code for windows and macos to also use the helper method i introduced here. Seems possible and would eliminate the complexity of Config#getEnvFilesWithDefault which seems to have been mostly introduced to encompass XDG Base Directory support as neither macos or windows use the features of that helper that make it complex.
This fixes #455. I don't know if you want to refactor the code for windows and macos to also use the helper method i introduced here. Seems possible and would eliminate the complexity of
Config#getEnvFilesWithDefault
which seems to have been mostly introduced to encompass XDG Base Directory support as neither macos or windows use the features of that helper that make it complex.