mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Fix condition for running dotnet source generators
This commit is contained in:
@@ -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 [];
|
||||
|
||||
Reference in New Issue
Block a user