Skip to content

Commit

Permalink
fixed getJarFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-vcapgemini committed Aug 7, 2023
1 parent 19a24a9 commit 4109989
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public static List<Path> getJarFiles(Path templatesDirectory) {
ArrayList<Path> jarPaths = new ArrayList<>();
try (Stream<Path> files = Files.list(templatesDirectory)) {
files.forEach(path -> {
if (path.endsWith(".jar")) {
if (path.toString().endsWith(".jar")) {
jarPaths.add(path);
}
});
Expand Down

0 comments on commit 4109989

Please sign in to comment.