Skip to content

Commit

Permalink
Ignore completely empty folders
Browse files Browse the repository at this point in the history
  • Loading branch information
rubengees committed Jun 12, 2018
1 parent 8cbd578 commit 03f6cc1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ open class SquitPreProcessTask : DefaultTask() {

private val leafDirectoriesWithConfig by lazy {
FilesUtils.getSortedLeafDirectories(sourcesPath)
.filter { Files.newDirectoryStream(it).use { it.any() } }
.map { it to resolveConfig(it) }
.filter { (testPath, resolvedProperties) ->
when {
Expand Down

0 comments on commit 03f6cc1

Please sign in to comment.