diff --git a/cli/scb-cli.scala b/cli/scb-cli.scala index 57334590..d42592d5 100755 --- a/cli/scb-cli.scala +++ b/cli/scb-cli.scala @@ -1161,7 +1161,7 @@ class LocalReproducer(using config: Config, build: BuildInfo): s"++$effectiveScalaVersion$versionSwitchSuffix -v", "set every credentials := Nil", "moduleMappings", - "removeScalacOptions -deprecation -feature -Xfatal-warnings -Werror", + "mapScalacOptions \"\" \"-deprecation,-feature,-Xfatal-warnings,-Werror\"", sbtConfig.commands, s"runBuild $effectiveScalaVersion $tq$effectiveConfig$tq ${project.effectiveTargets.mkString(" ")}" ).call( diff --git a/project-builder/mill/scalafix/tests/src/test/scala/fix/RuleSuite.scala b/project-builder/mill/scalafix/tests/src/test/scala/fix/RuleSuite.scala index adf6be47..c033b642 100644 --- a/project-builder/mill/scalafix/tests/src/test/scala/fix/RuleSuite.scala +++ b/project-builder/mill/scalafix/tests/src/test/scala/fix/RuleSuite.scala @@ -7,8 +7,6 @@ class RuleSuite extends AbstractSemanticRuleSuite with FunSuiteLike { sys.props.update("communitybuild.noInjects", "true") sys.props.update("communitybuild.scala", "3.1.2-RC2-bin-cb00abcdef123456789-COMMUNITY-BUILD") sys.props.update("communitybuild.version", "1.2.3-RC4") - sys.props.update("communitybuild.appendScalacOptions","A1,A2") - sys.props.update("communitybuild.removeScalacOptions","R1,R2") runAllTests() }