From bf27f7ad6cce57d6e4248d8825ab2105443fad98 Mon Sep 17 00:00:00 2001 From: Ariel Otilibili Date: Tue, 2 Jul 2024 22:31:58 +0200 Subject: [PATCH] Marked rebar_utils:find_source/3 as deprecated * introcuded by dec484643c233fda9c17d38c1854ba7f3f37547b * introcuded to workaround releases prior R20 not having filelib:find_source/3 [1] [1] https://www.erlang.org/doc/apps/stdlib/filelib.html#find_source/3 --- apps/rebar/src/rebar_utils.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/rebar/src/rebar_utils.erl b/apps/rebar/src/rebar_utils.erl index 1d1a9a032..e106e760f 100644 --- a/apps/rebar/src/rebar_utils.erl +++ b/apps/rebar/src/rebar_utils.erl @@ -25,7 +25,7 @@ %% THE SOFTWARE. %% ------------------------------------------------------------------- -module(rebar_utils). - +-deprecated({find_source, 3, "Instead, use filelib:find_source/3"}). -export([sort_deps/1, droplast/1, filtermap/2,