We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c460202 commit 2b230c6Copy full SHA for 2b230c6
src/main/kotlin/com/coder/toolbox/CoderToolboxContext.kt
@@ -33,13 +33,14 @@ data class CoderToolboxContext(
33
* 3. CODER_URL.
34
* 4. URL in global cli config.
35
*/
36
- val deploymentUrl: Pair<String, SettingSource>? = this.secrets.lastDeploymentURL.let {
37
- if (it.isNotBlank()) {
38
- it to SettingSource.LAST_USED
39
- } else {
40
- this.settingsStore.defaultURL()
+ val deploymentUrl: Pair<String, SettingSource>?
+ get() = this.secrets.lastDeploymentURL.let {
+ if (it.isNotBlank()) {
+ it to SettingSource.LAST_USED
+ } else {
41
+ this.settingsStore.defaultURL()
42
+ }
43
}
- }
44
45
/**
46
* Try to find a token.
0 commit comments