Skip to content

Conversation

manodnyab
Copy link
Contributor

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Description

Include only the initial major version and not the end major version while downloading artifacts

Checklist

  • My code follows the code style of this project
  • I have added tests to cover my changes
  • A short description of the change has been added to the CHANGELOG if the change is customer-facing in the IDE.
  • I have added metrics for my changes (if required)

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@manodnyab manodnyab requested a review from a team as a code owner May 27, 2025 07:03
.mapNotNull { localFolder ->
SemVer.parseFromText(localFolder.fileName.toString())?.let { semVer ->
if (semVer in manifestVersionRanges.startVersion..manifestVersionRanges.endVersion) {
if (semVer >= manifestVersionRanges.startVersion && semVer < manifestVersionRanges.endVersion) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (semVer >= manifestVersionRanges.startVersion && semVer < manifestVersionRanges.endVersion) {
if (semVer in manifestVersionRanges.startVersion..<manifestVersionRanges.endVersion) {

also works

@manodnyab manodnyab enabled auto-merge (squash) May 27, 2025 21:26
Copy link

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@manodnyab manodnyab merged commit 7ec20c4 into feature/q-lsp-chat May 27, 2025
13 of 16 checks passed
@manodnyab manodnyab deleted the manodnyb/lspversionrange branch May 27, 2025 22:15
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.

2 participants