Skip to content

Commit

Permalink
Update FileExtensions.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
JusterZhu committed Sep 24, 2024
1 parent 75dd3e8 commit 086622b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c#/GeneralUpdate.Common/File/FileExtensions.cs
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ namespace GeneralUpdate.Common;

public static class FileExtensions
{
public static List<FileInfo> AsFileInfo(this List<string> filePaths)
public static List<FileInfo> AsFileInfo(this List<string>? filePaths)
{
return filePaths.Select(path => new FileInfo(path)).ToList();
}

0 comments on commit 086622b

Please sign in to comment.