Skip to content

Commit

Permalink
fix(binary): fixes #35
Browse files Browse the repository at this point in the history
Fallback to the GitHub url if the url formed with the given portal is
not valid.
  • Loading branch information
LeonardoMor committed Sep 16, 2024
1 parent b52445d commit 9f7563f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lua/neocodeium/binary.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ end
---@param callback fun()
function Bin:download(callback)
local base_url = "https://github.com/Exafunction/codeium/releases/download"
if options.server.portal_url then
base_url = options.server.portal_url:gsub("/$", "")
end
---@type url
local url = string.format(
"%s/language-server-v%s/language_server_%s.gz",
Expand Down

0 comments on commit 9f7563f

Please sign in to comment.