mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 17:08:00 +02:00
Merge pull request #1473 from disarray2077/patch-5
Fix error handling in `Version.Parse`
This commit is contained in:
commit
dcdc6c22e1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue