Skip to content

Commit

Permalink
fix: Fixed threshold not being display if not set
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-mrzyglod committed Sep 5, 2024
1 parent 62613f7 commit e65850b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ace/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ private static void DisplayUsedSettings(FileInfo templateFile, string scopeId, s

logger.AddEstimatorMessage("Template file: {0}", templateFile);
logger.AddEstimatorMessage("Deployment mode: {0}", options.Mode);
logger.AddEstimatorMessage("Threshold: {0}", options.Threshold == -1 ? "Not Set" : options.Threshold.ToString());
logger.AddEstimatorMessage("Threshold: {0}", options.Threshold.HasValue == false ? "Not Set" : options.Threshold.ToString());
logger.AddEstimatorMessage("Parameters file: {0}", options.ParametersFile?.Name ?? "Not Set");
logger.AddEstimatorMessage("Currency: {0}", options.Currency);
logger.AddEstimatorMessage("Generate JSON output: {0}", options.ShouldGenerateJsonOutput);
Expand Down

0 comments on commit e65850b

Please sign in to comment.