Skip to content

Commit 8c8fa9f

Browse files
authored
Merge pull request #44 from utPLSQL/feature/include_coverage_html_assets
Fix open FileSystem when copying assets from JAR/ZIP
2 parents 548515b + 249fff4 commit 8c8fa9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/utplsql/api/ResourceUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public static List<Path> getListOfChildren(Path resourceAsPath, boolean filesOnl
7272
result.add(entryPath.subpath(relativeStartIndex, entryPath.getNameCount()));
7373
}
7474
}
75+
resourcePath.getFileSystem().close();
7576
} else {
7677
Files.walk(resourcePath)
7778
.filter(p -> !filesOnly || p.toFile().isFile())

0 commit comments

Comments
 (0)