Skip to content

Commit f556679

Browse files
committed
fix: Act null check in folderPathList
1 parent ef84ed7 commit f556679

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/Plugins/LocalizationExtension/Editor/AssetTool/AssetFinding.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public static IReadOnlyList<T> FindAssetsInFolders<T>(IReadOnlyList<DefaultAsset
1616
}
1717

1818
var folderPathList = folders
19+
.Where(folder => folder != null)
1920
.Select(AssetDatabase.GetAssetPath)
2021
.Where(path => !string.IsNullOrEmpty(path))
2122
.Where(path => Directory.Exists(path))

0 commit comments

Comments
 (0)