Fix #94 - Add support for RS4-specific labs

refactor-intermediate-models
BuildFeed Bot 2018-01-09 19:40:56 +00:00
parent ff34f5cba1
commit b68c1eae52
1 changed files with 5 additions and 1 deletions

View File

@ -136,7 +136,11 @@ namespace BuildFeed.Model
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;
}