File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ package software.aws.toolkits.jetbrains.services.amazonq
55
66import com.intellij.openapi.application.ApplicationInfo
77import com.intellij.openapi.project.Project
8+ import com.intellij.openapi.util.BuildNumber
89import com.intellij.openapi.util.SystemInfo
910import software.amazon.awssdk.services.codewhispererruntime.model.IdeCategory
1011import software.amazon.awssdk.services.codewhispererruntime.model.OperatingSystem
@@ -58,7 +59,7 @@ fun isQSupportedInThisVersion(): Boolean {
5859 val currentBuild = ApplicationInfo .getInstance().build
5960 if (currentBuild.asStringWithoutProductCode() in unSupportedIdeVersionInQ) return false
6061
61- val version242Cutoff = com.intellij.openapi.util. BuildNumber .fromString(" 242.22855.74" )
62+ val version242Cutoff = BuildNumber .fromString(" 242.22855.74" )
6263 return ! (currentBuild.baselineVersion == 242 && currentBuild.compareTo(version242Cutoff) < 0 )
6364}
6465
You can’t perform that action at this time.
0 commit comments