diff --git a/.scalafmt.conf b/.scalafmt.conf index 9d1ee28..7eb14e3 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 2.5.3 +version = 2.6.0 style = defaultWithAlign maxColumn = 100 diff --git a/modules/plugin/src/main/scala/com/fortysevendeg/hood/plugin/SbtHoodPlugin.scala b/modules/plugin/src/main/scala/com/fortysevendeg/hood/plugin/SbtHoodPlugin.scala index c8fe15c..f3bffb7 100644 --- a/modules/plugin/src/main/scala/com/fortysevendeg/hood/plugin/SbtHoodPlugin.scala +++ b/modules/plugin/src/main/scala/com/fortysevendeg/hood/plugin/SbtHoodPlugin.scala @@ -332,9 +332,8 @@ object TaskAlgebra { .get(benchmarkKey) .fold( L.error( - s"Benchmark $benchmarkKey existing in previous benchmarks is missing from current ones." - ) - .as(BenchmarkComparisonResult(previous, None, Warning, threshold)) + s"Benchmark $benchmarkKey existing in previous benchmarks is missing from current ones." + ).as(BenchmarkComparisonResult(previous, None, Warning, threshold)) )(current => S.delay(BenchmarkService.compare(current, previous, threshold))) }