Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug when indexing Scala package repo #373

Merged
merged 1 commit into from
Nov 22, 2021

Conversation

olafurpg
Copy link
Member

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