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

Bug: CLI does not handle options with value of zero correctly #1421

Closed

Conversation

stevecaldwell77
Copy link
Contributor

The CLI option parsing code did a truthy test to determine whether a user provided a value for an option. This meant that values of 0 were being ignored. This is an issue in particular for serverless-autoprune-plugin:

arabold/serverless-autoprune-plugin#3

This PR fixes the bug by doing an explicit null/undefined check instead.

@flomotlik
Copy link
Contributor

Hi @stevecaldwell77 , thanks for the contribution, but we've stopped working on 0.5 of Serverless at this point to fully focus on the next release with V1 that we're currently working on. Therefore we're not taking any commits for 0.5 at this point and I'm closing this PR. We only have a limited set of resources and just need to make sure we're putting everything we have into our next release (and can provide great long term support and backwards compatibility from then on). Hope you understand.

We would love to get your feedback on V1 of the framework and I'm happy to walk you through any questions to make sure its all working great for you.

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