mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Strip out hard-to-find CD Check instances
This commit is contained in:
@@ -1044,7 +1044,10 @@ namespace DICUI.Utilities
|
||||
return "None found";
|
||||
|
||||
// Strip out "CD Check" instances due to false positives
|
||||
return string.Join("\n", found.Where(kvp => !kvp.Value.Equals("CD Check", StringComparison.OrdinalIgnoreCase)).Select(kvp => kvp.Key + ": " + kvp.Value).ToArray());
|
||||
return string.Join("\n", found
|
||||
.Where(kvp => !kvp.Value.Equals("CD Check", StringComparison.OrdinalIgnoreCase))
|
||||
.Select(kvp => kvp.Key + ": " + kvp.Value.Replace("CD Check,", string.Empty).Replace("CD Check", string.Empty).Trim())
|
||||
.ToArray());
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user