File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/kotlin/com/coder/toolbox/cli Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ class CoderCLIManager(
132
132
private val forceDownloadToData : Boolean = false ,
133
133
) {
134
134
private val downloader = createDownloadService()
135
+
135
136
val remoteBinaryURL: URL = context.settingsStore.binSource(deploymentURL)
136
137
val localBinaryPath: Path = context.settingsStore.binPath(deploymentURL, forceDownloadToData)
137
138
val coderConfigPath: Path = context.settingsStore.dataDir(deploymentURL).resolve(" config" )
@@ -175,7 +176,7 @@ class CoderCLIManager(
175
176
176
177
// if we could not find any signature and the user wants to explicitly
177
178
// confirm whether we run an unsigned cli
178
- if (cliDownloadResult .isNotDownloaded()) {
179
+ if (singatureDownloadResult .isNotDownloaded()) {
179
180
val cli = cliDownloadResult as Downloaded
180
181
if (context.settingsStore.allowUnsignedBinaryWithoutPrompt) {
181
182
context.logger.warn(" Running unsigned CLI from ${cli.source} " )
You can’t perform that action at this time.
0 commit comments