From f052c4bfbcd77eb26675ad5d5fa6428c2573c5b0 Mon Sep 17 00:00:00 2001 From: Lorenzo Gabriele Date: Thu, 5 Oct 2023 12:08:03 +0200 Subject: [PATCH] Trim versions coming from MILL_COMPILER_BRIDGE_VERSIONS env --- build.sc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sc b/build.sc index e722accb9db..018ad43a50d 100644 --- a/build.sc +++ b/build.sc @@ -224,7 +224,7 @@ val bridgeScalaVersions = Seq( val compilerBridgeScalaVersions = interp.watchValue(sys.env.get("MILL_COMPILER_BRIDGE_VERSIONS")) match { case None => Seq.empty[String] case Some("all") => bridgeScalaVersions - case Some(versions) => versions.split(',').toSeq + case Some(versions) => versions.split(',').map(_.trim).toSeq } val bridgeVersion = "0.0.1"