fix some nullability issues

This commit is contained in:
Simon Cropp
2020-12-24 11:43:39 +11:00
committed by Patrik Svensson
parent 79742ce9e3
commit e71db7f78c
7 changed files with 6 additions and 25 deletions

View File

@@ -96,11 +96,6 @@ namespace Spectre.Console
throw new ArgumentNullException(nameof(style));
}
if (source is null)
{
return style;
}
var current = style;
foreach (var item in source)
{