File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
src/main/kotlin/com/coder/toolbox/util Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 16
16
- ` Stop ` action is now available for running workspaces that have an out of date template.
17
17
- outdated and stopped workspaces are now updated and started when handling URI
18
18
- show errors when the Toolbox is visible again after being minimized.
19
+ - URI handling now installs the exact build number if it is available for the workspace.
19
20
20
21
## 0.3.0 - 2025-06-10
21
22
Original file line number Diff line number Diff line change 1
- version =0.3.0
1
+ version =0.3.1
2
2
group =com.coder.toolbox
3
3
name =coder-toolbox
Original file line number Diff line number Diff line change @@ -382,16 +382,16 @@ open class CoderProtocolHandler(
382
382
return null
383
383
}
384
384
385
- val matchingBuildNumber = availableVersions.firstOrNull { it.contains(buildNumber) } ! = null
386
- if (! matchingBuildNumber ) {
385
+ val buildNumberIsNotAvailable = availableVersions.firstOrNull { it.contains(buildNumber) } = = null
386
+ if (buildNumberIsNotAvailable ) {
387
387
val selectedIde = availableVersions.maxOf { it }
388
388
context.logAndShowInfo(
389
389
" $productCode -$buildNumber not available" ,
390
390
" $productCode -$buildNumber is not available, we've selected the latest $selectedIde "
391
391
)
392
392
return selectedIde
393
393
}
394
- return null
394
+ return " $productCode - $buildNumber "
395
395
}
396
396
397
397
private fun installJBClient (selectedIde : String , environmentId : String ): Job = context.cs.launch {
You can’t perform that action at this time.
0 commit comments