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

Config files not working #3

Open
jolonf opened this issue Feb 11, 2020 · 0 comments
Open

Config files not working #3

jolonf opened this issue Feb 11, 2020 · 0 comments

Comments

@jolonf
Copy link

jolonf commented Feb 11, 2020

When starting echain as follows:

echain start -f ./event.json

It doesn't load event.json but instead searches for the first json file and may choose the wrong one if the directory contains other json files.

The issue is that the command line parsing uses fileconfig:

fileconfig: 'f',

Whereas when it loads the file it is expecting config:

} else if (options.config) {

Either config should be changed to fileconfig or vice verse.

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