From 825f3a9b1c5fd1220ff2d043e5ad5c5765916901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=81=C4=99picki?= Date: Sun, 2 Jun 2024 22:28:46 +0200 Subject: [PATCH 1/2] Fix Elixir 1.17 warning about function call without parens --- lib/hound/browser.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hound/browser.ex b/lib/hound/browser.ex index d62dad1..2459ec1 100644 --- a/lib/hound/browser.ex +++ b/lib/hound/browser.ex @@ -13,7 +13,7 @@ defmodule Hound.Browser do browser = browser(browser_name) user_agent = - user_agent(opts[:user_agent] || browser.default_user_agent) + user_agent(opts[:user_agent] || browser.default_user_agent()) |> Hound.Metadata.append(opts[:metadata]) capabilities = %{browserName: browser_name} From 074c84116e134c1afc9b92749a8d5f99141ce001 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=81=C4=99picki?= Date: Sun, 2 Jun 2024 22:29:10 +0200 Subject: [PATCH 2/2] Fix Elixir 1.17 warning about charlist syntax in mix.exs --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 4831a49..40e53f8 100644 --- a/mix.exs +++ b/mix.exs @@ -20,7 +20,7 @@ defmodule Hound.Mixfile do [ extra_applications: [:logger], mod: {Hound, []}, - description: 'Integration testing and browser automation library', + description: ~c"Integration testing and browser automation library", ] end