From 086622b7b159456a13c76b049366dc6a0578c7d2 Mon Sep 17 00:00:00 2001 From: "Juster.zhu" Date: Wed, 25 Sep 2024 00:10:08 +0800 Subject: [PATCH] Update FileExtensions.cs --- src/c#/GeneralUpdate.Common/File/FileExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c#/GeneralUpdate.Common/File/FileExtensions.cs b/src/c#/GeneralUpdate.Common/File/FileExtensions.cs index 1bd33175..afcfc778 100644 --- a/src/c#/GeneralUpdate.Common/File/FileExtensions.cs +++ b/src/c#/GeneralUpdate.Common/File/FileExtensions.cs @@ -6,7 +6,7 @@ namespace GeneralUpdate.Common; public static class FileExtensions { - public static List AsFileInfo(this List filePaths) + public static List AsFileInfo(this List? filePaths) { return filePaths.Select(path => new FileInfo(path)).ToList(); }