Fix condition for running dotnet source generators

This commit is contained in:
Tamas Vajk
2024-04-17 13:44:03 +02:00
parent 3626c814ac
commit b560ab1a73
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
return [];
}
if (!fileContent.IsAspNetCoreDetected)
if (!fileContent.IsNewProjectStructureUsed)
{
logger.LogInfo($"Generating source files from {FileType} files is only supported for new (SDK-style) project files");
return [];