summaryrefslogtreecommitdiff
path: root/src/rebar_app_info.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_app_info.erl')
-rw-r--r--src/rebar_app_info.erl7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/rebar_app_info.erl b/src/rebar_app_info.erl
index 247e5f4..382ea7a 100644
--- a/src/rebar_app_info.erl
+++ b/src/rebar_app_info.erl
@@ -167,12 +167,7 @@ app_details(AppInfo=#app_info_t{app_details=[]}) ->
File ->
File
end,
- case file:consult(AppFile) of
- {ok, [{application, _, AppDetails}]} ->
- AppDetails;
- _ ->
- []
- end;
+ rebar_file_utils:try_consult(AppFile);
app_details(#app_info_t{app_details=AppDetails}) ->
AppDetails.