summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Thompson <andrew@hijacked.us>2013-10-17 12:36:36 -0400
committerAndrew Thompson <andrew@hijacked.us>2013-10-17 12:36:36 -0400
commitaa46d858493356b5247481532145ddc99f12040d (patch)
tree6901e9c722e44355ff4916a14fcca4f167a5109b
parentd983beafe93a0f58272d3351f12329984541878f (diff)
Don't badmatch if a path we think we added isn't in the code path
-rw-r--r--src/rebar_core.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl
index 2e0768e..6c4f5c5 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -411,7 +411,7 @@ restore_code_path(no_change) ->
restore_code_path({added, Paths}) ->
%% Verify that all of the paths still exist -- some dynamically
%% added paths can get blown away during clean.
- [true = code:del_path(F) || F <- Paths, erl_prim_loader_is_file(F)],
+ [code:del_path(F) || F <- Paths, erl_prim_loader_is_file(F)],
ok.
erl_prim_loader_is_file(File) ->