summaryrefslogtreecommitdiff
path: root/src/rebar_app_discover.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-08-29 17:07:18 -0500
committerTristan Sloughter <t@crashfast.com>2015-08-31 21:40:51 -0500
commitf209ccc2b8ea79279532f1fe1debe24aa0e6a488 (patch)
tree7779674a7e082a16d1721bd0e3e7c401cc664a73 /src/rebar_app_discover.erl
parent98752aab9390137d7cba0b70e0c1c08b9ca308d4 (diff)
remove state record from app_info record
Diffstat (limited to 'src/rebar_app_discover.erl')
-rw-r--r--src/rebar_app_discover.erl3
1 files changed, 1 insertions, 2 deletions
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)