aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_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_prv_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_prv_release.erl')
-rw-r--r--src/rlx_prv_release.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rlx_prv_release.erl b/src/rlx_prv_release.erl
index 5feb798..2af8acd 100644
--- a/src/rlx_prv_release.erl
+++ b/src/rlx_prv_release.erl
@@ -208,9 +208,7 @@ set_resolved(State, Release0, Pkgs) ->
_:_ ->
?RLX_ERROR({release_erts_error, ErtsDir})
end
- end;
- {error, E} ->
- ?RLX_ERROR({release_error, E})
+ end
end.
get_realized_release(State, RelName, RelVsn) ->