Fix merge conflict

This commit is contained in:
Sebastiaan Janssen
2022-09-20 13:30:26 +02:00
parent 42c32e76f2
commit 084153157b

View File

@@ -198,7 +198,7 @@ public class IconService : IIconService
// Iterate though the files of the second level sub directory. This should be where the SVG files are located :D
foreach (IFileInfo file in fileProvider.GetDirectoryContents($"{path}/{pluginDirectory.Name}/{subDir1.Name}/{subDir2.Name}"))
{
if (file.Name.InvariantEndsWith(".svg"))
if (file.Name.InvariantEndsWith(".svg") && file.PhysicalPath != null)
{
yield return new FileInfo(file.PhysicalPath);
}