diff --git a/src/main/kotlin/co/huggingface/llmintellij/lsp/LlmLsLspServerDescriptor.kt b/src/main/kotlin/co/huggingface/llmintellij/lsp/LlmLsLspServerDescriptor.kt index 3d5ea0b..4358aad 100644 --- a/src/main/kotlin/co/huggingface/llmintellij/lsp/LlmLsLspServerDescriptor.kt +++ b/src/main/kotlin/co/huggingface/llmintellij/lsp/LlmLsLspServerDescriptor.kt @@ -101,7 +101,7 @@ fun runCommand(command: String) { } fun downloadLlmLs(logger: Logger, binaryPath: String?, version: String): String? { - if (binaryPath != null && binaryPath.endsWith(version) && File(binaryPath).exists()) { + if (binaryPath != null && File(binaryPath).exists()) { return binaryPath }