aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_state.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-06-22 19:55:23 -0500
committerTristan Sloughter <[email protected]>2014-06-23 08:02:04 -0500
commitd67d1aac3aebd63a14c367db66483388a08e9379 (patch)
tree89212cad842a6850bd927411ff14a2aa460885c2 /src/rlx_state.erl
parent884e227ba2da04fc5a0a2b1ec71ccc27c781ecf3 (diff)
downloadrelx-d67d1aac3aebd63a14c367db66483388a08e9379.tar.gz
relx-d67d1aac3aebd63a14c367db66483388a08e9379.tar.bz2
relx-d67d1aac3aebd63a14c367db66483388a08e9379.zip
provide useful error message when no release to build is found
Diffstat (limited to 'src/rlx_state.erl')
-rw-r--r--src/rlx_state.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlx_state.erl b/src/rlx_state.erl
index ebe6f33..267d9fe 100644
--- a/src/rlx_state.erl
+++ b/src/rlx_state.erl
@@ -301,7 +301,7 @@ update_realized_release(M=#state_t{realized_releases=Releases}, Release) ->
Releases)}.
-spec default_configured_release(t()) -> {rlx_release:name() | undefined,
- rlx_release:vsn() | undefined}.
+ rlx_release:vsn() | undefined} | default.
default_configured_release(#state_t{default_configured_release=Def}) ->
Def.