Skip to content

Conversation

olafurpg
Copy link
Contributor

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.

Fixes #318

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.
@olafurpg olafurpg merged commit b67d98b into sourcegraph:main Nov 22, 2021
@olafurpg olafurpg deleted the sbt-packge-repo branch November 22, 2021 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lsif-java index reports an error but succeeds with exit code 0
1 participant