Skip to content

Commit

Permalink
Update kie-spring-boot/kie-spring-boot-autoconfiguration/kie-server-s…
Browse files Browse the repository at this point in the history
…pring-boot-autoconfiguration/src/main/java/org/kie/server/springboot/autoconfiguration/KieServerAutoConfiguration.java

Co-authored-by: Francisco Javier Tirado Sarti <65240126+fjtirado@users.noreply.github.com>
  • Loading branch information
gmunozfe and fjtirado committed Dec 15, 2023
1 parent 50f5a50 commit f00036a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public List<KieContainerResource> buildAutoScanDeployments(KieServerProperties k
ApplicationHome appHome = new ApplicationHome();
final String folder = "BOOT-INF/classes/KIE-INF/lib/";
List<KieContainerResource> containerResources = discoverDeployments(folder, new File(explodedJarFolder));
return (containerResources.isEmpty()) ? discoverDeployments(folder, new FileInputStream(appHome.getSource())) : containerResources;
return containerResources.isEmpty() ? discoverDeployments(folder, new FileInputStream(appHome.getSource())) : containerResources;
}

public List<KieContainerResource> discoverDeployments(String folder, File root) {
Expand Down

0 comments on commit f00036a

Please sign in to comment.