This is an automated email from the ASF dual-hosted git repository.
mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko.git
The following commit(s) were added to refs/heads/main by this push:
new 878ee613e0 Use FileFilter.nothing from newest sbt
878ee613e0 is described below
commit 878ee613e0d40068801e17418d42c032b5a60d4e
Author: Matthew de Detrich <[email protected]>
AuthorDate: Thu May 4 10:28:17 2023 +0200
Use FileFilter.nothing from newest sbt
---
project/ValidatePullRequest.scala | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
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"),
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]