Bläddra i källkod

Ensure dir for plt exists when copying

pull/65/head
James Fish 10 år sedan
förälder
incheckning
fac7b627f5
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. +1
    -0
      src/rebar_prv_dialyzer.erl

+ 1
- 0
src/rebar_prv_dialyzer.erl Visa fil

@ -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);

Laddar…
Avbryt
Spara