Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include doesn't allow for fully specified files. #768

Open
TwoClocks opened this issue May 20, 2022 · 0 comments
Open

include doesn't allow for fully specified files. #768

TwoClocks opened this issue May 20, 2022 · 0 comments

Comments

@TwoClocks
Copy link

the following lines fails to load include required("env.hocon") with an exception about not being able to find env.hocon.conf or env.hocon.json etc.

Seems like it shouldn't imply an extension if one is provided?

if I change the file name to env.conf then both include required("env") and include required("env.conf") work. So the code is already looking for extensions, and knows not to look for env.conf.conf. Perhaps don't append .conf etc if any extension exists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant