Support ancient .NET in Skippers

This commit is contained in:
Matt Nadareski
2024-02-28 20:31:22 -05:00
parent c6df7980a8
commit 080c8a749b
5 changed files with 27 additions and 6 deletions

View File

@@ -53,7 +53,7 @@ namespace SabreTools.Skippers
public Rule? GetMatchingRule(Stream input, string skipperName)
{
// If we have no name supplied, try to blindly match
if (string.IsNullOrWhiteSpace(skipperName))
if (string.IsNullOrEmpty(skipperName))
return GetMatchingRule(input);
// If the name matches the internal name of the skipper