From 15219e0b5a2dae51e13e3f65bba8e0b3cf37d664 Mon Sep 17 00:00:00 2001 From: boon-wego <100658566+boon-wego@users.noreply.github.com> Date: Thu, 22 Aug 2024 12:11:50 +0800 Subject: [PATCH] Update faker.ex warning: using map.field notation (without parentheses) to invoke function Faker.Random.Elixir.random_uniform() is deprecated, you must add parentheses instead: remote.function() --- lib/faker.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/faker.ex b/lib/faker.ex index eebcb74a..568c009a 100644 --- a/lib/faker.ex +++ b/lib/faker.ex @@ -105,7 +105,7 @@ defmodule Faker do true """ @spec random_uniform() :: float - def random_uniform do + def random_uniform() do Application.get_env(:faker, :random_module).random_uniform() end