From 6fbf762dbe06bd50ac78fca6716ae722361098a0 Mon Sep 17 00:00:00 2001 From: Brice Jaglin Date: Thu, 16 Jan 2025 20:52:21 +0100 Subject: [PATCH] fix save-expect again Since 3f644e7, save-expect would only run for Scala 2 despite saying it was running only for Scala 3. Better stay away from using "all" with input tasks. --- project/ScalafixBuild.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/project/ScalafixBuild.scala b/project/ScalafixBuild.scala index 8ee5e5213..e07488e61 100644 --- a/project/ScalafixBuild.scala +++ b/project/ScalafixBuild.scala @@ -206,7 +206,9 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys { .map { sv => s"integration${asProjectSuffix(sv)} / Test / runMain scalafix.tests.util.SaveExpect" } - .mkString("all ", " ", "") :: state + .foldLeft(state) { (state, command) => + command :: state + } }, commands += Command.command("ci-docs") { state => "docs2_13/run" :: // reduce risk of errors on deploy-website.yml