mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Improve code quality
This commit is contained in:
@@ -134,7 +134,7 @@ namespace Semmle.Extraction.CSharp
|
|||||||
{
|
{
|
||||||
case ExitCode.Ok:
|
case ExitCode.Ok:
|
||||||
case ExitCode.Errors:
|
case ExitCode.Errors:
|
||||||
allFailed &= false;
|
allFailed = false;
|
||||||
break;
|
break;
|
||||||
case ExitCode.Failed:
|
case ExitCode.Failed:
|
||||||
break;
|
break;
|
||||||
@@ -209,11 +209,11 @@ namespace Semmle.Extraction.CSharp
|
|||||||
switch (exit)
|
switch (exit)
|
||||||
{
|
{
|
||||||
case ExitCode.Ok:
|
case ExitCode.Ok:
|
||||||
allFailed &= false;
|
allFailed = false;
|
||||||
logger.LogInfo($" Compilation {diagnosticName} succeeded");
|
logger.LogInfo($" Compilation {diagnosticName} succeeded");
|
||||||
break;
|
break;
|
||||||
case ExitCode.Errors:
|
case ExitCode.Errors:
|
||||||
allFailed &= false;
|
allFailed = false;
|
||||||
logger.LogWarning($" Compilation {diagnosticName} had errors");
|
logger.LogWarning($" Compilation {diagnosticName} had errors");
|
||||||
break;
|
break;
|
||||||
case ExitCode.Failed:
|
case ExitCode.Failed:
|
||||||
|
|||||||
Reference in New Issue
Block a user