summaryrefslogtreecommitdiff
path: root/src/rebar_otp_app.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-06-14 17:30:15 -0500
committerTristan Sloughter <t@crashfast.com>2015-06-18 18:16:44 -0500
commitcd8c03e1c481b0ac7a6372d586411bcf9dd6a354 (patch)
treeb3fe314a52d1568a45e8014c72614f5e6b563acd /src/rebar_otp_app.erl
parent544cf2ced3db9b179e9adeade76d0345611ba703 (diff)
check format of config file and print the bad section in the error
Diffstat (limited to 'src/rebar_otp_app.erl')
-rw-r--r--src/rebar_otp_app.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_otp_app.erl b/src/rebar_otp_app.erl
index a8c2d62..9f61e71 100644
--- a/src/rebar_otp_app.erl
+++ b/src/rebar_otp_app.erl
@@ -203,7 +203,7 @@ consult_app_file(Filename) ->
false ->
file:consult(Filename);
true ->
- {ok, rebar_config:consult_file(Filename)}
+ {ok, rebar_config:consult_app_file(Filename)}
end
end.