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

The default settings will override user settings #1319

Closed
zqqq opened this issue Apr 1, 2016 · 1 comment · Fixed by #1363
Closed

The default settings will override user settings #1319

zqqq opened this issue Apr 1, 2016 · 1 comment · Fixed by #1363
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@zqqq
Copy link

zqqq commented Apr 1, 2016

master/src/cli/parse-server.js line 54

options = Object.keys(definitions).reduce(function (options, key) { if (typeof program[key] !== 'undefined') { options[key] = program[key]; } return options; }, options);

E.g"mountPath": "/mymountPath",

typeof program[key] is defalut /parse

options = Object.keys(definitions).reduce(function (options, key) { if (typeof program[key] !== 'undefined' && typeof options[key] == 'undefined') { options[key] = program[key]; } return options; }, options);

@flovilmart
Copy link
Contributor

I'll have a look! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants