From f209ccc2b8ea79279532f1fe1debe24aa0e6a488 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 29 Aug 2015 17:07:18 -0500 Subject: remove state record from app_info record --- src/rebar_app_discover.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/rebar_app_discover.erl') diff --git a/src/rebar_app_discover.erl b/src/rebar_app_discover.erl index bc66c1f..e32a9f5 100644 --- a/src/rebar_app_discover.erl +++ b/src/rebar_app_discover.erl @@ -88,8 +88,7 @@ merge_deps(AppInfo, State) -> rebar_utils:check_blacklisted_otp_versions(rebar_state:get(AppState1, blacklisted_otp_vsns, [])), AppState2 = rebar_state:set(AppState1, artifacts, []), - AppInfo1 = rebar_app_info:state(AppInfo, AppState2), - AppInfo2 = rebar_app_info:opts(AppInfo1, rebar_state:opts(AppState2)), + AppInfo2 = rebar_app_info:opts(AppInfo, rebar_state:opts(AppState2)), State1 = lists:foldl(fun(Profile, StateAcc) -> handle_profile(Profile, Name, AppState1, StateAcc) -- cgit v1.1