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

Remove env var value from commanderjs flag definitions #409

Merged

Conversation

MartinNuc
Copy link
Contributor

This solves #408

When -no- is used in flag definition (which may get there for example when you name your function header-no-cache) it treats flag incorrectly and assigns true as a value.

Repository owner deleted a comment Jan 12, 2018
@DeviaVir DeviaVir merged commit 47ab059 into motdotla:master Jan 12, 2018
@DeviaVir
Copy link
Collaborator

I'll make sure to push a new tag soon including this fix.

@MartinNuc
Copy link
Contributor Author

Thank you.

I also tried to write a test for it but the only test I was able to write took 25s :( hopefully it will be fine like this.

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