Skip to content

Commit 2c3c3c1

Browse files
committed
Consistent file URI for folders and jars
1 parent 903cd31 commit 2c3c3c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigDiagnostic.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public static Set<String> configFiles(Path configFilesLocation) throws IOExcepti
184184
Set<String> configFiles = new HashSet<>();
185185
try (DirectoryStream<Path> candidates = Files.newDirectoryStream(configFilesLocation, CONFIG_FILES_FILTER)) {
186186
for (Path candidate : candidates) {
187-
configFiles.add(candidate.toUri().getPath());
187+
configFiles.add(candidate.toUri().toURL().toString());
188188
}
189189
}
190190
return configFiles;

0 commit comments

Comments
 (0)