@@ -111,7 +111,7 @@ final case class SbtCommunityProject(
111111 dependencies : List [CommunityProject ] = Nil ,
112112 sbtPublishCommand : String = null ,
113113 sbtDocCommand : String = null ,
114- scalaCoptions : List [String ] = List (" -Ycheck-init" )
114+ scalacOptions : List [String ] = List (" -Ycheck-init" )
115115 ) extends CommunityProject :
116116 override val binaryName : String = " sbt"
117117
@@ -161,12 +161,12 @@ final case class SbtCommunityProject(
161161 )
162162
163163 private def scalacOptionsString : String =
164- scalaCoptions .map(" \" " + _ + " \" " ).mkString(" List(" , " ," , " )" )
164+ scalacOptions .map(" \" " + _ + " \" " ).mkString(" List(" , " ," , " )" )
165165
166166 private val baseCommand =
167167 " clean; set logLevel in Global := Level.Error; set updateOptions in Global ~= (_.withLatestSnapshots(false)); "
168168 ++ s """ set dependencyOverrides in ThisBuild ++= ${dependencyOverrides.mkString(" Seq(" , " , " , " )" )}; """
169- ++ (if scalaCoptions .isEmpty then " " else s """ set scalacOptions in Global ++= $scalacOptionsString; """ )
169+ ++ (if scalacOptions .isEmpty then " " else s """ set scalacOptions in Global ++= $scalacOptionsString; """ )
170170 ++ s " ++ $compilerVersion!; "
171171
172172 override val testCommand =
@@ -550,7 +550,7 @@ object projects:
550550 sbtTestCommand = " set scalaJSStage in Global := FastOptStage;buildJVM;validateAllJS" ,
551551 sbtPublishCommand = " catsJVM/publishLocal;catsJS/publishLocal" ,
552552 dependencies = List (discipline, disciplineMunit, scalacheck, simulacrumScalafixAnnotations),
553- scalaCoptions = Nil // disable -Ycheck-init, due to -Xfatal-warning
553+ scalacOptions = Nil // disable -Ycheck-init, due to -Xfatal-warning
554554 )
555555
556556 lazy val catsMtl = SbtCommunityProject (
0 commit comments