Skip to content

Commit 2a61e0c

Browse files
committed
Fix bug rendering file trees in workspaces
1 parent dcf62e7 commit 2a61e0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/WorkspaceDumper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public FileVisitResult postVisitDirectory(
115115
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
116116
doIndent();
117117
appendable.append(file.getFileName().toString()).append("\n");
118+
++index;
118119
return super.visitFile(file, attrs);
119120
}
120121

0 commit comments

Comments
 (0)