Skip to content

Commit b050954

Browse files
committed
Expand DistZip lib search
Previously, the DistZip container only searched for a JARs in the lib/ directory; it did not search recursively. A user has now reported that this isn't working for their application. This change enlarges that search to be recursive which should solve the issue. [resolves #332]
1 parent 5649c99 commit b050954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/java_buildpack/container/dist_zip.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def supports?
5656
private
5757

5858
def jars?
59-
(lib_dir + '*.jar').glob.any?
59+
(lib_dir + '**/*.jar').glob.any?
6060
end
6161

6262
def lib_dir

0 commit comments

Comments
 (0)