config icon indicating copy to clipboard operation
config copied to clipboard

include doesn't allow for fully specified files.

Open TwoClocks opened this issue 3 years ago • 0 comments

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?

TwoClocks avatar May 20 '22 22:05 TwoClocks