Adjusted nomatch printing

This commit is contained in:
Justin Swanson 2019-12-22 17:50:22 -06:00
parent 5f9d47eb5c
commit 7ec61ae688

View File

@ -227,12 +227,12 @@ namespace Wabbajack.Lib
UpdateTracker.NextStep($"Adding {ExtraFiles.Count} that were generated by the stack");
results = results.Concat(ExtraFiles).ToArray();
var nomatch = results.OfType<NoMatch>();
Info($"No match for {nomatch.Count()} files");
foreach (var file in nomatch)
Info($" {file.To}");
var nomatch = results.OfType<NoMatch>().ToArray();
Info($"No match for {nomatch.Length} files");
if (nomatch.Any())
{
foreach (var file in nomatch)
Info($" {file.To}");
if (IgnoreMissingFiles)
{
Info("Continuing even though files were missing at the request of the user.");