Use FileFilter.nothing from newest sbt
This commit is contained in:
parent
622d992d79
commit
878ee613e0
1 changed files with 1 additions and 3 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue