File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/kotlin/com/coder/gateway/sdk Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ class CoderCLIManager @JvmOverloads constructor(
101
101
fun downloadCLI (): Boolean {
102
102
val etag = getBinaryETag()
103
103
val conn = remoteBinaryURL.openConnection() as HttpURLConnection
104
- if (settings.headerCommand.isNotBlank()){
105
- val headersFromHeaderCommand = CoderRestClient .getHeaders(deploymentURL, settings.headerCommand)
104
+ if (settings.headerCommand.isNotBlank()) {
105
+ val headersFromHeaderCommand = CoderRestClient .getHeaders(deploymentURL, settings.headerCommand)
106
106
for ((key, value) in headersFromHeaderCommand) {
107
107
conn.setRequestProperty(key, value)
108
108
}
@@ -184,7 +184,7 @@ class CoderCLIManager @JvmOverloads constructor(
184
184
" --token" ,
185
185
token,
186
186
" --global-config" ,
187
- coderConfigPath.toString()
187
+ coderConfigPath.toString(),
188
188
)
189
189
}
190
190
You can’t perform that action at this time.
0 commit comments