File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/kotlin/com/coder/gateway/views/steps Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 88
99- Default URL setting was showing the help text for the setup command instead of
1010 its own description.
11+ - Exception when there is no default or last used URL.
1112
1213## 2.11.2 - 2024-04-30
1314
Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ class CoderWorkspacesStepView : CoderWizardStep<CoderWorkspacesStepSelection>(
509509 * unless retry is false.
510510 */
511511 private fun maybeAskTokenThenConnect (isRetry : Boolean = false) {
512- val oldURL = fields.coderURL.toURL()
512+ val oldURL = fields.coderURL
513513 component.apply () // Force bindings to be filled.
514514 val newURL = fields.coderURL.toURL()
515515 if (settings.requireTokenAuth) {
@@ -518,7 +518,7 @@ class CoderWorkspacesStepView : CoderWizardStep<CoderWorkspacesStepSelection>(
518518 newURL,
519519 // If this is a new URL there is no point in trying to use the same
520520 // token.
521- if (oldURL.toString() == newURL.toString()) fields.token else null ,
521+ if (oldURL == newURL.toString()) fields.token else null ,
522522 isRetry,
523523 fields.useExistingToken,
524524 settings,
You can’t perform that action at this time.
0 commit comments