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

Fixed issue when using default parameters value from env.json #3

Merged
merged 1 commit into from
Aug 3, 2018

Conversation

pl3bras
Copy link

@pl3bras pl3bras commented Apr 19, 2018

When using envup with option "--default", it appears that the resulting .env file only contains :

prompt=function prompt(options) {
          return Promise.resolve(options.reduce(function (acc, option) {
            return _extends({}, acc, _defineProperty({}, option.name, option.defaultOption));
          }, {}));
 }

and not the "content" of env.json

@luk707
Copy link
Owner

luk707 commented Apr 22, 2018

Thanks for submitting this, I will have to test this change before I can pull it since a few of my projects depend on it. I will get round to this most likely some point in the week.

@luk707 luk707 added bug and removed bug labels Apr 22, 2018
@pl3bras
Copy link
Author

pl3bras commented Jul 24, 2018

Hi Luke, Did you already have the time to do some test on this change ?
(BTW, thks for this tool, i really appreciate it)

@luk707 luk707 merged commit ff8a6a2 into luk707:master Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants