Skip to content

Commit deccc79

Browse files
giacomocavalierinicolasfara
authored andcommitted
fix: only consider html files
1 parent 073cb9c commit deccc79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/dev/atedeg/Ubidoc.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ object Ubidoc {
3232
}
3333

3434
def listAllFiles(workingDir: File): Either[String, Set[File]] =
35-
Try(workingDir.listRecursively).toEither.map(_.toSet)
35+
Try(workingDir.listHtmlFiles).toEither.map(_.toSet)
3636

3737
def getIgnoredFiles(conf: Configuration, workingDir: File): Either[String, Set[File]] =
3838
conf.ignored.flatTraverse(_.toFiles(workingDir)).map(_.toSet)

0 commit comments

Comments
 (0)