Commit 51dd326
committed
Fix bug when indexing Scala package repo
Previously, we tried to infer the Scala version from the name of the jar
of the dependency that we were indexing. Now, we infer from the first
jar on the classpath that matches the `2_VERSION` pattern. The old logic
didn't work for the sbt package repo, which doesn't include the `_2.12`
suffix.1 parent 9a74d1b commit 51dd326
File tree
1 file changed
+10
-6
lines changed- lsif-java/src/main/scala/com/sourcegraph/lsif_java/buildtools
1 file changed
+10
-6
lines changedLines changed: 10 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
182 | 185 | | |
183 | 186 | | |
184 | 187 | | |
| |||
376 | 379 | | |
377 | 380 | | |
378 | 381 | | |
379 | | - | |
| 382 | + | |
380 | 383 | | |
| 384 | + | |
381 | 385 | | |
382 | 386 | | |
383 | 387 | | |
| |||
0 commit comments