Skip to content

Commit

Permalink
Use mapScalacOptions instead of removed removeScalacOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Jan 3, 2024
1 parent f9fd2e8 commit 1ac1872
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion cli/scb-cli.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

0 comments on commit 1ac1872

Please sign in to comment.