Skip to content

Commit af37737

Browse files
committed
Fix issue
1 parent 25f4458 commit af37737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher.Localization.SourceGenerators/Localize/LocalizeSourceGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ private static PluginClassInfo GetValidPluginInfo(
273273
ImmutableArray<PluginClassInfo> pluginClasses,
274274
SourceProductionContext context)
275275
{
276-
var nonNullExistClasses = pluginClasses.Where(p => p != null || p.PropertyName == null).ToArray();
276+
var nonNullExistClasses = pluginClasses.Where(p => p != null && p.PropertyName == null).ToArray();
277277
if (nonNullExistClasses.Length == 0)
278278
{
279279
context.ReportDiagnostic(Diagnostic.Create(

0 commit comments

Comments
 (0)