File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
core/runtime/src/main/java/io/quarkus/runtime/configuration Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ public static void unknownConfigFiles(final Set<Path> configFiles) throws Except
284284 String unprofiledConfigFile = APPLICATION + "." + filename .substring (filename .lastIndexOf ('.' ) + 1 );
285285 String profile = filename .substring (APPLICATION_LENGTH + 1 , filename .lastIndexOf ('.' ));
286286 if (config .getProfiles ().contains (profile )
287- && !Files .exists (Path . of ( configFile .getParent ().toString (), unprofiledConfigFile ))) {
287+ && !Files .exists (configFile .getParent ().resolve ( unprofiledConfigFile ))) {
288288 log .warnf (
289289 "Profiled configuration file %s is ignored; a main %s configuration file must exist in the same location to load %s" ,
290290 configFile , unprofiledConfigFile , filename );
You can’t perform that action at this time.
0 commit comments