diff --git a/util/io/src/main/scala/sbt/Path.scala b/util/io/src/main/scala/sbt/Path.scala index a21e96bd8..3b79e17ae 100644 --- a/util/io/src/main/scala/sbt/Path.scala +++ b/util/io/src/main/scala/sbt/Path.scala @@ -118,7 +118,7 @@ sealed abstract class PathFinder final def \ (literal: String): PathFinder = this / literal @deprecated("Use pair.", "0.13.1") - def x_![T](mapper: File => Option[T]): Traversable[(File,T)] = x(mapper, false) + def x_![T](mapper: File => Option[T]): Traversable[(File,T)] = pair(mapper, false) /** Applies `mapper` to each path selected by this PathFinder and returns the path paired with the non-empty result. * If the result is empty (None) and `errorIfNone` is true, an exception is thrown.