Skip to content

Commit 5e37806

Browse files
committed
Remove extra check for -Ysafe-init
1 parent ca916f0 commit 5e37806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

community-build/src/scala/dotty/communitybuild/projects.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ object projects:
526526
sbtTestCommand = "test",
527527
sbtPublishCommand = "coreJVM/publishLocal;coreJS/publishLocal",
528528
dependencies = List(discipline),
529-
scalacOptions = SbtCommunityProject.scalacOptions.filter(flag => flag != "-Ysafe-init" && flag != "-Wsafe-init")
529+
scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Wsafe-init")
530530
)
531531

532532
lazy val simulacrumScalafixAnnotations = SbtCommunityProject(

0 commit comments

Comments
 (0)