From 92ce35e76f5e8a9f692f1ee8aff4c2df8d63cb05 Mon Sep 17 00:00:00 2001
From: Dion <qdraw@users.noreply.github.com>
Date: Sat, 31 Aug 2024 15:13:50 +0200
Subject: [PATCH] rm Where(p => p.Value)

---
 .../Services/WebHtmlPublishService.cs                        | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/starsky/starsky.feature.webhtmlpublish/Services/WebHtmlPublishService.cs b/starsky/starsky.feature.webhtmlpublish/Services/WebHtmlPublishService.cs
index 1271db89c8..4bcdaf18c7 100644
--- a/starsky/starsky.feature.webhtmlpublish/Services/WebHtmlPublishService.cs
+++ b/starsky/starsky.feature.webhtmlpublish/Services/WebHtmlPublishService.cs
@@ -421,7 +421,7 @@ await _hostFileSystemStorage.WriteStreamAsync(_subPathStorage.ReadStream(subPath
 		/// </summary>
 		/// <param name="fullFileParentFolderPath">One folder deeper than where the folder </param>
 		/// <param name="itemName">blog item name</param>
-		/// <param name="renderCopyResult"></param>
+		/// <param name="renderCopyResult">[[string,bool],[]]</param>
 		/// <param name="deleteFolderAfterwards"></param>
 		public async Task GenerateZip(string fullFileParentFolderPath, string itemName,
 			Dictionary<string, bool>? renderCopyResult,
@@ -429,7 +429,8 @@ public async Task GenerateZip(string fullFileParentFolderPath, string itemName,
 		{
 			ArgumentNullException.ThrowIfNull(renderCopyResult);
 
-			var fileNames = renderCopyResult.Where(p => p.Value).Select(p => p.Key).ToList();
+			// to keep non publish files out use Where(p => p.Value)
+			var fileNames = renderCopyResult.Select(p => p.Key).ToList();
 
 			var slugItemName = GenerateSlugHelper.GenerateSlug(itemName, true);
 			var filePaths = fileNames