We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0356cdc + da55732 commit b84b687Copy full SHA for b84b687
csharp/extractor/Semmle.Extraction.CSharp/Extractor/Extractor.cs
@@ -161,7 +161,15 @@ static bool filter(CompilerCall compilerCall)
161
var allCompilationData = reader.ReadAllCompilationData(filter);
162
var allFailed = true;
163
164
- logger.LogInfo($" Found {allCompilationData.Count} compilations in binary log");
+ if (allCompilationData.Count == 0)
165
+ {
166
+ logger.LogWarning(" No compilations found in binary log.");
167
+ return ExitCode.Ok;
168
+ }
169
+ else
170
171
+ logger.LogInfo($" Found {allCompilationData.Count} compilations in binary log");
172
173
174
foreach (var compilationData in allCompilationData)
175
{
0 commit comments