Adjusting to force all instances to use rounded vs result due to Mage's quirks (#7164)

This commit is contained in:
Clint Rutkas
2020-10-08 08:57:17 -07:00
committed by GitHub
parent cfe2bbd75e
commit 9928579364
4 changed files with 21 additions and 11 deletions

View File

@@ -44,7 +44,7 @@ namespace Microsoft.Plugin.Calculator
return new List<Result>
{
ResultHelper.CreateResult(result.Result, result.RoundedResult, IconPath),
ResultHelper.CreateResult(result.RoundedResult, IconPath),
};
} // We want to keep the process alive if any the mages library throws any exceptions.
#pragma warning disable CA1031 // Do not catch general exception types