Skip to content

Commit

Permalink
Consistent file URI for folders and jars
Browse files Browse the repository at this point in the history
(cherry picked from commit 2c3c3c1)
  • Loading branch information
radcortez authored and gsmet committed Dec 12, 2023
1 parent 146ed33 commit 181942d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public static Set<String> configFiles(Path configFilesLocation) throws IOExcepti
Set<String> configFiles = new HashSet<>();
try (DirectoryStream<Path> candidates = Files.newDirectoryStream(configFilesLocation, CONFIG_FILES_FILTER)) {
for (Path candidate : candidates) {
configFiles.add(candidate.toUri().getPath());
configFiles.add(candidate.toUri().toURL().toString());
}
}
return configFiles;
Expand Down

0 comments on commit 181942d

Please sign in to comment.