From 324bbaa8fabd1d93c1a47db6f633c3619ba63f31 Mon Sep 17 00:00:00 2001 From: Charles Torre Date: Sun, 19 Feb 2023 12:04:45 -0800 Subject: [PATCH] new() --- FabricHealer/Repair/RepairExecutor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FabricHealer/Repair/RepairExecutor.cs b/FabricHealer/Repair/RepairExecutor.cs index 4f8e284..3d2cc21 100644 --- a/FabricHealer/Repair/RepairExecutor.cs +++ b/FabricHealer/Repair/RepairExecutor.cs @@ -857,7 +857,7 @@ namespace FabricHealer.Repair return false; } - var dirInfo = new DirectoryInfo(targetFolderPath); + DirectoryInfo dirInfo = new(targetFolderPath); FileSortOrder direction = (repairData.RepairPolicy as DiskRepairPolicy).FileAgeSortOrder; string searchPattern = (repairData.RepairPolicy as DiskRepairPolicy).FileSearchPattern; List files = direction switch