summaryrefslogtreecommitdiff
path: root/src/rebar_prv_cover.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-04-19 12:54:32 -0500
committerTristan Sloughter <t@crashfast.com>2015-04-21 22:56:04 -0500
commita3d4cc1259babf1541d5e278f11fc9ec9be75bb0 (patch)
tree82ceecb0ceecef4ac91ab078886da5df700646e8 /src/rebar_prv_cover.erl
parent31ef4c491689f2e3166e4365455ebf86374ab8a2 (diff)
track and cleanup code paths for different contexts
Diffstat (limited to 'src/rebar_prv_cover.erl')
-rw-r--r--src/rebar_prv_cover.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_cover.erl b/src/rebar_prv_cover.erl
index 83fe012..b38c6b0 100644
--- a/src/rebar_prv_cover.erl
+++ b/src/rebar_prv_cover.erl
@@ -150,7 +150,7 @@ analysis(State, Task) ->
{Mod, process(Answer), File}
end,
Mods),
- true = code:set_path(OldPath),
+ true = rebar_utils:cleanup_code_path(OldPath),
Analysis.
restore_cover_paths(State) ->