Skip to content

Commit

Permalink
Merge pull request #195 from eatkins/io-exception
Browse files Browse the repository at this point in the history
Catch all IOExceptions in swoval pathfinder implementation
  • Loading branch information
eed3si9n authored Oct 7, 2018
2 parents 50a0be9 + d4945f4 commit 896c6f5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions io/src/main/scala/sbt/io/Path.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import java.nio.file.{
FileVisitor,
Files,
LinkOption,
NoSuchFileException,
NotDirectoryException,
Path => NioPath
}

Expand Down Expand Up @@ -502,7 +500,7 @@ private object DescendantOrSelfPathFinder {
)
()
} catch {
case _: NotDirectoryException | _: NoSuchFileException =>
case _: IOException =>
}
}
def nio(file: File, filter: FileFilter, fileSet: mutable.Set[File]): Unit = {
Expand Down

0 comments on commit 896c6f5

Please sign in to comment.