浏览代码

Ensure dir for plt exists when copying

pull/65/head
James Fish 10 年前
父节点
当前提交
fac7b627f5
共有 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);

正在加载...
取消
保存