summaryrefslogtreecommitdiff
path: root/src/rebar_prv_compile.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2017-12-05 13:05:14 -0500
committerFred Hebert <mononcqc@ferd.ca>2017-12-05 13:18:32 -0500
commitd45bacb73bd1a255a5042929a49c81ab298df946 (patch)
tree73fcf91c48ce919a598f836f08a3b65e806c6a88 /src/rebar_prv_compile.erl
parentdb05d1ead04f5928a0e865d8317ad6204637cc48 (diff)
Run a soft purge while within the compiler step
Prevents the killing of a plugin with itself
Diffstat (limited to 'src/rebar_prv_compile.erl')
-rw-r--r--src/rebar_prv_compile.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_compile.erl b/src/rebar_prv_compile.erl
index 72320fb..75e6eee 100644
--- a/src/rebar_prv_compile.erl
+++ b/src/rebar_prv_compile.erl
@@ -145,7 +145,7 @@ compile(State, Providers, AppInfo) ->
code:add_pathsa(PluginDepsPaths),
AppFileCompileResult = rebar_otp_app:compile(State, AppInfo4),
%% Clean up after ourselves, leave things as they were.
- rebar_utils:remove_from_code_path(PluginDepsPaths),
+ rebar_utils:remove_from_code_path(PluginDepsPaths, soft_purge),
case AppFileCompileResult of
{ok, AppInfo5} ->