Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a crash when parsing invalid release versions as SemVer
Release tags that did not follow SemVer would result in parse errors, but error handling was not being done correctly and resulted in panic by nil references in sortVersions(). For examples: https://github.com/winebarrel/terraform-provider-mysql/releases/tag/mysqlx-v1.9.0-0
- Loading branch information
1 parent
69690a8
commit 4b1cefd
Showing
4 changed files
with
30 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters