Skip to content

Commit 35674fa

Browse files
authored
Can't error on warning if there is no warning. Checkmate msbuild (#727)
1 parent 409bcef commit 35674fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arcade/src/Microsoft.DotNet.SignTool/src/Configuration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ private FileSignInfo ExtractSignInfo(
528528
// Turn the else into a warning (and hoist into the if above) after issue is complete.
529529
if (peInfo.IsManaged)
530530
{
531-
LogWarning(code, warning);
531+
_log.LogMessage(MessageImportance.High, warning);
532532
}
533533
else
534534
{

0 commit comments

Comments
 (0)