Skip to content

Commit aa46d85

Browse files
committed
Don't badmatch if a path we think we added isn't in the code path
1 parent d983bea commit aa46d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rebar_core.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ restore_code_path(no_change) ->
411411
restore_code_path({added, Paths}) ->
412412
%% Verify that all of the paths still exist -- some dynamically
413413
%% added paths can get blown away during clean.
414-
[true = code:del_path(F) || F <- Paths, erl_prim_loader_is_file(F)],
414+
[code:del_path(F) || F <- Paths, erl_prim_loader_is_file(F)],
415415
ok.
416416

417417
erl_prim_loader_is_file(File) ->

0 commit comments

Comments
 (0)