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

fix(cli): bad state error on no argument #7

Merged
merged 2 commits into from
Mar 29, 2023

Conversation

ferrarafer
Copy link
Contributor

  • Avoid Bad state: No element when no argument passed to the CLI
  • Refactor of the code for a cleaner implementation
  • Add default value to version on getCurrentVersion to avoid LateInitializationError when no package found

- Avoid `Bad state: No element` when no argument passed to the CLI
- Refactor of the code for a cleaner implementation
Added default value to version on getCurrentVersion to avoid
LateInitializationError when no package found.
@FilledStacks FilledStacks merged commit 3766e7f into main Mar 29, 2023
@FilledStacks FilledStacks deleted the fix/bad-state-error-on-no-argument branch March 29, 2023 15:15
FilledStacks pushed a commit that referenced this pull request Mar 29, 2023
## [1.5.2](v1.5.1...v1.5.2) (2023-03-29)

### Bug Fixes

* bad state error on no argument ([#7](#7)) ([3766e7f](3766e7f))
@FilledStacks
Copy link
Contributor

🎉 This PR is included in version 1.5.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants