Skip to content
Permalink
Browse files

convert File to Path during recursive discovery

  • Loading branch information...
tsiq-clemens committed Jun 6, 2019
1 parent 195bf15 commit 36288af9ebf6f5d224d3ee638159c3ab5759f9be
@@ -65,7 +65,7 @@ class WebTauGroovyCliArgsConfigHandler implements WebTauConfigHandler {
def path = cfg.workingDir.resolve(Paths.get(fileName)).toAbsolutePath()
def paths = []
if (Files.isDirectory(path)) {
path.toFile().eachFileRecurse(FileType.FILES) { paths << it }
path.toFile().eachFileRecurse(FileType.FILES) { paths << it.toPath() }
} else {
paths << path
}

0 comments on commit 36288af

Please sign in to comment.
You can’t perform that action at this time.