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(
132132 private val forceDownloadToData : Boolean = false ,
133133) {
134134 private val downloader = createDownloadService()
135+
135136 val remoteBinaryURL: URL = context.settingsStore.binSource(deploymentURL)
136137 val localBinaryPath: Path = context.settingsStore.binPath(deploymentURL, forceDownloadToData)
137138 val coderConfigPath: Path = context.settingsStore.dataDir(deploymentURL).resolve(" config" )
@@ -175,7 +176,7 @@ class CoderCLIManager(
175176
176177 // if we could not find any signature and the user wants to explicitly
177178 // confirm whether we run an unsigned cli
178- if (cliDownloadResult .isNotDownloaded()) {
179+ if (singatureDownloadResult .isNotDownloaded()) {
179180 val cli = cliDownloadResult as Downloaded
180181 if (context.settingsStore.allowUnsignedBinaryWithoutPrompt) {
181182 context.logger.warn(" Running unsigned CLI from ${cli.source} " )
You can’t perform that action at this time.
0 commit comments