Skip to content

Commit

Permalink
♻️ Implement review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
tiulpin committed Aug 27, 2024
1 parent a1e037a commit 5f180ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
13 changes: 8 additions & 5 deletions platform/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,14 @@ var AllNativeCodes = []string{QDNET, QDJVM, QDJVMC, QDGO, QDPY, QDPYC, QDJS, QDP

func Image(code string) string {
if val, ok := DockerImageMap[code]; ok {
//if code == QDNETC || code == QDCL {
// return val + releaseVersion + "-eap"
//}
//return val + releaseVersion
return val + releaseVersion + "-eap"
if //goland:noinspection GoBoolExpressions
!isReleased {
return val + releaseVersion + "-eap"
}
if code == QDNETC || code == QDCL {
return val + releaseVersion + "-eap"
}
return val + releaseVersion
} else {
log.Fatal("Unknown code: " + code)
return ""
Expand Down
1 change: 1 addition & 0 deletions platform/configurator.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const (
configName = "qodana"
releaseVersion = "2024.2"
shortVersion = "242"
isReleased = false // set to true after the 2024.2 release is published
)

// langsProductCodes is a map of languages to linters.
Expand Down

0 comments on commit 5f180ca

Please sign in to comment.