浏览代码

Merge pull request #1279 from gbour/fix-dialyzer

fix catching  `not_valid` error on dialyzer
pull/1288/head
alisdair sullivan 8 年前
提交者 GitHub
父节点
当前提交
f57102aeb6
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      src/rebar_prv_dialyzer.erl

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

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

正在加载...
取消
保存