瀏覽代碼

Don't badmatch if a path we think we added isn't in the code path

pull/3/head
Andrew Thompson 11 年之前
父節點
當前提交
aa46d85849
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar_core.erl

+ 1
- 1
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) ->

Loading…
取消
儲存