Skip to content

Commit

Permalink
chore: update deprecated option value
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Feb 13, 2024
1 parent 557c48f commit 77b92f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/next_ls/updater.ex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ defmodule NextLS.Updater do
github_host = Keyword.get(opts, :github_host, "https://github.com")
logger = Keyword.fetch!(opts, :logger)
current_version = Keyword.fetch!(opts, :current_version)
retry = Keyword.get(opts, :retry, :safe)
retry = Keyword.get(opts, :retry, :safe_transient)

case Req.get("/repos/elixir-tools/next-ls/releases/latest", base_url: api_host, retry: retry) do
{:ok, %{status: 200, body: %{"tag_name" => "v" <> version = tag}}} ->
Expand Down

0 comments on commit 77b92f8

Please sign in to comment.