Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Remove env var value from commanderjs flag definitions#409

Merged
DeviaVir merged 1 commit intomotdotla:mastermotdotla/node-lambda:masterfrom
MartinNuc:fix-commanderjs-flag-definitionsMartinNuc/node-lambda:fix-commanderjs-flag-definitionsCopy head branch name to clipboard
Jan 12, 2018
Merged

Remove env var value from commanderjs flag definitions#409
DeviaVir merged 1 commit intomotdotla:mastermotdotla/node-lambda:masterfrom
MartinNuc:fix-commanderjs-flag-definitionsMartinNuc/node-lambda:fix-commanderjs-flag-definitionsCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.