From 77b92f8f4ee8f52797f7806ddbb786d05b2fd555 Mon Sep 17 00:00:00 2001 From: Mitchell Hanberg Date: Tue, 13 Feb 2024 00:30:07 -0500 Subject: [PATCH] chore: update deprecated option value --- lib/next_ls/updater.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/next_ls/updater.ex b/lib/next_ls/updater.ex index b8d13a98..50075b30 100644 --- a/lib/next_ls/updater.ex +++ b/lib/next_ls/updater.ex @@ -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}}} ->