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

Added a check for a valid version before all version uses #611

Merged
merged 1 commit into from
Jan 30, 2019

Conversation

tanema
Copy link
Contributor

@tanema tanema commented Jan 30, 2019

fixes #604

There is an issue where if the user tries to update to a version that is invalid semver, themekit will panic. This adds a check before the use of any user-inputted version so that the rest of the release package can use it with confidence.

Sorry @batasrki I was already getting some themekit work done, so I did this really quick as well.

@tanema tanema requested a review from batasrki January 30, 2019 18:57
Copy link

@batasrki batasrki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries, I was blocked on where to put the check.

@tanema tanema merged commit 6af1714 into master Jan 30, 2019
@tanema tanema deleted the check_valid_version_before_update branch January 30, 2019 19:19
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.

Panic when trying to update to invalid version.
2 participants