aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_release.erl
diff options
context:
space:
mode:
authorLuis Rascao <[email protected]>2016-09-24 00:39:07 +0100
committerLuis Rascao <[email protected]>2016-09-25 23:23:30 +0100
commit7dcfafcae37d6f58fe43b5ea2f06e67c8e8428b6 (patch)
treecb0f92bad71a2b3705d6f5aa5f1434268b1fcd1a /src/rlx_release.erl
parentc7e6d8119037d4d4ab117381027f379de9a6a5df (diff)
downloadrelx-7dcfafcae37d6f58fe43b5ea2f06e67c8e8428b6.tar.gz
relx-7dcfafcae37d6f58fe43b5ea2f06e67c8e8428b6.tar.bz2
relx-7dcfafcae37d6f58fe43b5ea2f06e67c8e8428b6.zip
Silence dialyzer warnings
Fix/add method specs, remove unreachable branches, make rlx_util:render/2 accept both iolists and binaries.
Diffstat (limited to 'src/rlx_release.erl')
-rw-r--r--src/rlx_release.erl2
1 files changed, 1 insertions, 1 deletions
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).