Closed schmengler closed 8 years ago
@schmengler thx for PR, but can you explain why you need to configure configPath
as an array?
I want to read configuration from multiple directories. According to the README this should be possible:
configPath and overridePath accept single string as well as array of strings. It means that you can compose config using multiple folders. For example:
(and it already was possible before I updated everything recently)
Please give me some time, I will accept this PR after finishing work with Travis. Thanks :)
@schmengler thanks for your PR.
Currently if I configure "configPath" as an array, merging it with the default values results in an array like this:
Because the string is treated as an array of characters, when used as array.
(I'm running node.js 5.0.0 if that matters)