瀏覽代碼

Log {error, read_error} dialyzer plt_info error

Tuncer Ayaz 14 年之前
父節點
當前提交
ba8daa5212
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      src/rebar_dialyzer.erl

+ 2
- 0
src/rebar_dialyzer.erl 查看文件

@ -72,6 +72,8 @@ analyze(Config, File) ->
{error, no_such_file} -> {error, no_such_file} ->
?ABORT("The PLT ~s does not exist. Please perform the build_plt command to ~n" ?ABORT("The PLT ~s does not exist. Please perform the build_plt command to ~n"
"produce the initial PLT. Be aware this operation may take several minutes.", [Plt]); "produce the initial PLT. Be aware this operation may take several minutes.", [Plt]);
{error, read_error} ->
?ABORT("Unable to read PLT ~n~n", [Plt]);
{error, not_valid} -> {error, not_valid} ->
?ABORT("The PLT ~s is not valid.~n", [Plt]); ?ABORT("The PLT ~s is not valid.~n", [Plt]);
{error, _Reason} -> {error, _Reason} ->

Loading…
取消
儲存