Fix #94 - Add support for RS4-specific labs

This commit is contained in:
BuildFeed Bot 2018-01-09 19:40:56 +00:00
parent ff34f5cba1
commit b68c1eae52

View File

@ -136,7 +136,11 @@ private void GenerateLabUrl()
private void GenerateFamily()
{
// start with lab-based overrides
if (Lab?.StartsWith("rs3", StringComparison.InvariantCultureIgnoreCase) ?? false)
if (Lab?.StartsWith("rs4", StringComparison.InvariantCultureIgnoreCase) ?? false)
{
Family = ProjectFamily.Redstone4;
}
else if (Lab?.StartsWith("rs3", StringComparison.InvariantCultureIgnoreCase) ?? false)
{
Family = ProjectFamily.Redstone3;
}