瀏覽代碼

Merge pull request #65 from fishcakez/plt_copy_lib

Ensure dir for plt exists when copying.
pull/71/head
Tristan Sloughter 10 年之前
父節點
當前提交
0374200e58
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      src/rebar_prv_dialyzer.erl

+ 1
- 0
src/rebar_prv_dialyzer.erl 查看文件

@ -276,6 +276,7 @@ build_proj_plt(State, Plt, Files) ->
BaseFiles = get_base_plt_files(State),
{ok, State1} = update_base_plt(State, BasePlt, BaseFiles),
?INFO("Copying ~p to ~p...", [BasePlt, Plt]),
_ = filelib:ensure_dir(Plt),
case file:copy(BasePlt, Plt) of
{ok, _} ->
check_plt(State1, Plt, BaseFiles, Files);

Loading…
取消
儲存