summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar_prv_compile.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_compile.erl b/src/rebar_prv_compile.erl
index f280b1f..74be7a6 100644
--- a/src/rebar_prv_compile.erl
+++ b/src/rebar_prv_compile.erl
@@ -63,7 +63,8 @@ do(State) ->
rebar_hooks:run_all_hooks(Cwd, post, ?PROVIDER, Providers, State2),
has_all_artifacts(State3),
- rebar_utils:cleanup_code_path(rebar_state:code_paths(State3, default)),
+ rebar_utils:cleanup_code_path(rebar_state:code_paths(State3, default)
+ ++ rebar_state:code_paths(State, all_plugin_deps)),
{ok, State3}.