Remove logging of error for no poison leaks (#17159)
This commit is contained in:
parent
f5ad81b189
commit
7ebbb2d3b8
2 changed files with 1 additions and 16 deletions
|
@ -160,11 +160,6 @@ namespace Microsoft.DotNet.SourceBuild.Tasks.LeakDetection
|
|||
{
|
||||
Log.LogWarning($"{poisons.Count()} marked files leaked to output. See complete report '{PoisonReportOutputFilePath}' for details.");
|
||||
}
|
||||
else
|
||||
{
|
||||
Log.LogError($"No leaked files found in output. Either something is broken or it is the future and we have fixed all leaks - please verify and remove this error if so (and default {nameof(FailOnPoisonFound)} to true).");
|
||||
return false;
|
||||
}
|
||||
|
||||
return !Log.HasLoggedErrors;
|
||||
}
|
||||
|
|
|
@ -1,11 +1 @@
|
|||
<PrebuiltLeakReport>
|
||||
<File Path="dotnet-format.x.y.z/tools/netx.y/any/Microsoft.CodeAnalysis.AnalyzerUtilities.dll">
|
||||
<Type>AssemblyAttribute</Type>
|
||||
</File>
|
||||
<File Path="dotnet-sdk-x.y.z-banana-rid.tar/sdk/x.y.z/DotnetTools/dotnet-format/Microsoft.CodeAnalysis.AnalyzerUtilities.dll">
|
||||
<Type>AssemblyAttribute</Type>
|
||||
</File>
|
||||
<File Path="dotnet-sdk-x.y.z-banana-rid.tar/sdk/x.y.z/DotnetTools/dotnet-watch/x.y.z/tools/netx.y/any/Microsoft.CodeAnalysis.AnalyzerUtilities.dll">
|
||||
<Type>AssemblyAttribute</Type>
|
||||
</File>
|
||||
</PrebuiltLeakReport>
|
||||
<PrebuiltLeakReport />
|
Loading…
Add table
Add a link
Reference in a new issue