Skip to content

Commit 99afcce

Browse files
author
Hasan Ali
committed
Filter out any files in src directory
1 parent 39045e6 commit 99afcce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adapter/src/main/kotlin/org/javacs/ktda/jdi/launch/JDILauncher.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ class JDILauncher(
7979

8080
private fun sourcesRootsOf(projectRoot: Path): Set<Path> = projectRoot.resolve("src")
8181
.let(Files::list) // main, test
82+
.filter { Files.isDirectory(it) }
8283
.flatMap(Files::list) // kotlin, java
8384
.filter { Files.isDirectory(it) }
8485
.collect(Collectors.toSet())

0 commit comments

Comments
 (0)