Commit 67bb6f4
Glyn Normington
Avoid directories in Groovy detection
Directories such as:
grapes/org.codehaus.groovy
caused a failure in the Groovy detect logic, so filter out
directories.
Add a test to verify the correct behaviour.
[#53781773]1 parent 0107755 commit 67bb6f4
3 files changed
Lines changed: 11 additions & 1 deletion
File tree
- lib/java_buildpack/container
- spec
- fixtures/dot_groovy/x/y.groovy
- java_buildpack/container
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
Whitespace-only changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
44 | 54 | | |
45 | 55 | | |
46 | 56 | | |
| |||
0 commit comments