mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
Don't badmatch if a path we think we added isn't in the code path
This commit is contained in:
parent
d983beafe9
commit
aa46d85849
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ restore_code_path(no_change) ->
|
||||||
restore_code_path({added, Paths}) ->
|
restore_code_path({added, Paths}) ->
|
||||||
%% Verify that all of the paths still exist -- some dynamically
|
%% Verify that all of the paths still exist -- some dynamically
|
||||||
%% added paths can get blown away during clean.
|
%% 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.
|
ok.
|
||||||
|
|
||||||
erl_prim_loader_is_file(File) ->
|
erl_prim_loader_is_file(File) ->
|
||||||
|
|
Loading…
Reference in a new issue