From cd8c03e1c481b0ac7a6372d586411bcf9dd6a354 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sun, 14 Jun 2015 17:30:15 -0500 Subject: check format of config file and print the bad section in the error --- test/rebar_test_utils.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/rebar_test_utils.erl') diff --git a/test/rebar_test_utils.erl b/test/rebar_test_utils.erl index f53ba20..9c181d8 100644 --- a/test/rebar_test_utils.erl +++ b/test/rebar_test_utils.erl @@ -164,7 +164,7 @@ check_results(AppDir, Expected) -> GlobalPluginDirs = filelib:wildcard(filename:join([AppDir, "global", "plugins"])), CheckoutsDir = filename:join([AppDir, "_checkouts"]), LockFile = filename:join([AppDir, "rebar.lock"]), - Locks = lists:flatten(rebar_config:consult_file(LockFile)), + Locks = lists:flatten(rebar_config:consult_lock_file(LockFile)), InvalidApps = rebar_app_discover:find_apps(BuildDirs, invalid), ValidApps = rebar_app_discover:find_apps(BuildDirs, valid), -- cgit v1.1