1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Fix error handling in Version.Parse

This commit is contained in:
disarray2077 2022-02-26 11:49:01 -03:00 committed by GitHub
parent 3dd4212ccd
commit 0a173fcf9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ namespace System
}
let major = ParseComponent!(components.GetNext());
let minor = ParseComponent!(components.GetNext());
let minor = ParseComponent!(Try!(components.GetNext()));
if (!components.HasMore)
return Version(major, minor);