diff --git a/project/ValidatePullRequest.scala b/project/ValidatePullRequest.scala index 0062062ef3..dcbc34293a 100644 --- a/project/ValidatePullRequest.scala +++ b/project/ValidatePullRequest.scala @@ -57,9 +57,7 @@ object PekkoValidatePullRequest extends AutoPlugin { case (_, project) if !ignoredProjects.contains(project.id) => val directory = project.base.getPath.split(java.io.File.separatorChar).last PathGlobFilter(s"$directory/**") - }.fold(new FileFilter { // TODO: Replace with FileFilter.nothing when https://github.com/sbt/io/pull/340 gets released - override def accept(pathname: File): Boolean = false - })(_ || _) + }.fold(FileFilter.nothing)(_ || _) }, validatePullRequestBuildAll / excludeFilter := PathGlobFilter("project/MiMa.scala"), prValidatorGithubRepository := Some("apache/incubator-pekko"),