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

Enable custom location for the config file (#17) #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BitFis
Copy link

@BitFis BitFis commented Apr 1, 2020

I was also in need to be able to change the config.yml file location and name, therefore I extended your project with this functionality:

// enables loading custom config.yml as following:
require('config-yml').loadFromFile("/home/pi/config.yml");

// can be extended with env
require('config-yml').loadFromFile("/home/pi/config.yml", "production");

Would love to hear your feedback and hopefully merge when the commits are fine.

Cheers
BitFis

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 94.565% when pulling b8d99cf on BitFis:master into 6fbbb26 on Nordstrom:master.

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

Successfully merging this pull request may close these issues.

2 participants