8000 Remove env var value from commanderjs flag definitions by MartinNuc · Pull Request #409 · motdotla/node-lambda · GitHub
[go: up one dir, main page]

Skip to content

Remove env var value from commanderjs flag definitions#409

Merged
DeviaVir merged 1 commit intomotdotla:masterfrom
MartinNuc:fix-commanderjs-flag-definitions
Jan 12, 2018
Merged

Remove env var value from commanderjs flag definitions#409
DeviaVir merged 1 commit intomotdotla:masterfrom
MartinNuc:fix-commanderjs-flag-definitions

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

0