From f9dcf0b540c4973ab1cef7893fb46e34a4e74099 Mon Sep 17 00:00:00 2001 From: Mahdi Bahrami Date: Sun, 6 Oct 2024 13:38:15 +0330 Subject: [PATCH] fix(patch): Log less when `--no-progress` (again) (#287) --- Plugins/BenchmarkTool/BenchmarkTool+Operations.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift b/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift index c1f15ae2..cf923015 100644 --- a/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift +++ b/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift @@ -144,7 +144,7 @@ extension BenchmarkTool { var p90Thresholds: [BenchmarkIdentifier : [BenchmarkMetric: BenchmarkThresholds.AbsoluteThreshold]] = [:] - if quiet == false { + if noProgress == false { print("") print("Reading thresholds from \"\(thresholdsPath)\"") } @@ -166,7 +166,7 @@ extension BenchmarkTool { exitCode: .thresholdRegression) } - if quiet == false { + if noProgress == false { print("") print("Checking \(benchmarks.map { $0.target + ":" + $0.name })") print("")