fix: filter project dir on windows (#214)
This commit is contained in:
parent
4803719449
commit
586f6a7d49
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ abstract class FilterProjectDir : BaseTask() {
|
|||
private fun collectFiles(dir: Path): Set<String> {
|
||||
return Files.walk(dir).use { stream ->
|
||||
stream.filter { it.isRegularFile() }
|
||||
.map { it.relativeTo(dir).toString() }
|
||||
.map { it.relativeTo(dir).invariantSeparatorsPathString }
|
||||
.collect(Collectors.toUnmodifiableSet())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue