aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rcl_release.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rcl_release.erl b/src/rcl_release.erl
index dd3e479..3b5694d 100644
--- a/src/rcl_release.erl
+++ b/src/rcl_release.erl
@@ -302,9 +302,9 @@ parse_goal0(_, E = {error, _}) ->
parse_goal1(Release = #release_t{annotations=Annots, goals=Goals},
Constraint0, NewAnnots) ->
case rcl_goal:parse(Constraint0) of
- {error, _} ->
+ {fail, _} ->
?RCL_ERROR({failed_to_parse, Constraint0});
- Constraint1 ->
+ {ok, Constraint1} ->
case get_app_name(Constraint1) of
E1 = {error, _} ->
E1;