Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nkolev92 committed Feb 24, 2024
1 parent 003708f commit 9d62ce5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ public static bool ParseEnableValue(RestoreAuditProperties? value, string projec
return true;
}

if (value.TryParseEnableAudit(out bool result))
if (!value.TryParseEnableAudit(out bool result))
{
string messageText = string.Format(Strings.Error_InvalidNuGetAuditValue, value, "true, false");
RestoreLogMessage message = RestoreLogMessage.CreateError(NuGetLogCode.NU1014, messageText);
Expand Down

0 comments on commit 9d62ce5

Please sign in to comment.