Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit db7f9da

Browse files
committedApr 3, 2024
Sort IDEs
Fixes #346.
1 parent ab45c41 commit db7f9da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/main/kotlin/com/coder/gateway/views/steps/CoderWorkspaceStepView.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,8 @@ class CoderWorkspaceStepView(
319319
.map { ide -> IdeWithStatus(ide.product, ide.buildNumber, IdeStatus.DOWNLOAD, ide.download, null, ide.presentableVersion, ide.remoteDevType) }
320320
}
321321

322-
val installedIdes = installedIdesJob.await()
323-
val idesWithStatus = idesWithStatusJob.await()
322+
val installedIdes = installedIdesJob.await().sorted()
323+
val idesWithStatus = idesWithStatusJob.await().sorted()
324324
if (installedIdes.isEmpty()) {
325325
logger.info("No IDE is installed in $name")
326326
}

0 commit comments

Comments
 (0)
Please sign in to comment.