浏览代码

Fix support for `not_valid` dialyzer error

pull/1279/head
Guillaume Bour 9 年前
父节点
当前提交
ffe5e42521
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      src/rebar_prv_dialyzer.erl

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

@ -260,6 +260,9 @@ read_plt(_State, Plt) ->
Result;
{error, no_such_file} ->
error;
{error, not_valid} ->
Error = io_lib:format("Could not read the PLT file ~p", [Plt]),
throw({dialyzer_error, Error});
{error, read_error} ->
Error = io_lib:format("Could not read the PLT file ~p", [Plt]),
throw({dialyzer_error, Error})

正在加载...
取消
保存