瀏覽代碼

Fix return error on `not_valid` to force .plt file regeneration

pull/1279/head
Guillaume Bour 8 年之前
父節點
當前提交
b668329a9e
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. +1
    -2
      src/rebar_prv_dialyzer.erl

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

@ -261,8 +261,7 @@ read_plt(_State, Plt) ->
{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;
{error, read_error} ->
Error = io_lib:format("Could not read the PLT file ~p", [Plt]),
throw({dialyzer_error, Error})

Loading…
取消
儲存