From 7ec61ae6887433c3d921aba3acc0321a06b8a6d0 Mon Sep 17 00:00:00 2001 From: Justin Swanson Date: Sun, 22 Dec 2019 17:50:22 -0600 Subject: [PATCH] Adjusted nomatch printing --- Wabbajack.Lib/MO2Compiler.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Wabbajack.Lib/MO2Compiler.cs b/Wabbajack.Lib/MO2Compiler.cs index 2d3473ef..0688d105 100644 --- a/Wabbajack.Lib/MO2Compiler.cs +++ b/Wabbajack.Lib/MO2Compiler.cs @@ -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(); - Info($"No match for {nomatch.Count()} files"); - foreach (var file in nomatch) - Info($" {file.To}"); + var nomatch = results.OfType().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.");