summaryrefslogtreecommitdiff
path: root/src/rebar_plugins.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-09-09 22:09:11 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-09-09 22:09:11 -0400
commitebb919f228ab694ddd6c114fb6dc66989e7d8707 (patch)
tree372b2060630fab11f691041ef9fb60a9a21e900a /src/rebar_plugins.erl
parent6eb28a94ca87f7d1e0ed9bde45b98b15ab1fcd5b (diff)
parent14ab5f562efdcbaac54732c3776af4f5acbae1d9 (diff)
Merge pull request #787 from tsloughter/dialyzer_cleanup
fix dialyzer warnings
Diffstat (limited to 'src/rebar_plugins.erl')
-rw-r--r--src/rebar_plugins.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_plugins.erl b/src/rebar_plugins.erl
index 80f62f5..f2d3977 100644
--- a/src/rebar_plugins.erl
+++ b/src/rebar_plugins.erl
@@ -26,7 +26,7 @@ project_apps_install(State) ->
lists:foldl(fun(AppInfo, StateAcc2) ->
C = rebar_config:consult(rebar_app_info:dir(AppInfo)),
AppInfo0 = rebar_app_info:update_opts(AppInfo, rebar_app_info:opts(AppInfo), C),
- Plugins2 = rebar_state:get(AppInfo0, {plugins, Profile}, []),
+ Plugins2 = rebar_app_info:get(AppInfo0, {plugins, Profile}, []),
handle_plugins(Profile, Plugins2, StateAcc2)
end, StateAcc1, ProjectApps)
end, State, Profiles).