From aa46d858493356b5247481532145ddc99f12040d Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Thu, 17 Oct 2013 12:36:36 -0400 Subject: Don't badmatch if a path we think we added isn't in the code path --- src/rebar_core.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -> -- cgit v1.1