From 7dcfafcae37d6f58fe43b5ea2f06e67c8e8428b6 Mon Sep 17 00:00:00 2001 From: Luis Rascao Date: Sat, 24 Sep 2016 00:39:07 +0100 Subject: Silence dialyzer warnings Fix/add method specs, remove unreachable branches, make rlx_util:render/2 accept both iolists and binaries. --- src/rlx_release.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rlx_release.erl') diff --git a/src/rlx_release.erl b/src/rlx_release.erl index 2dc6ce0..dc39e34 100644 --- a/src/rlx_release.erl +++ b/src/rlx_release.erl @@ -141,7 +141,7 @@ goals(#release_t{goals=Goals}) -> Goals. -spec realize(t(), [{app_name(), app_vsn()}], [rlx_app_info:t()]) -> - {ok, t()} | relx:error(). + {ok, t()}. realize(Rel, Pkgs0, World0) -> World1 = subset_world(Pkgs0, World0), process_specs(realize_erts(Rel), World1). -- cgit v1.2.3