Просмотр исходного кода

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

pull/1279/head
Guillaume Bour 9 лет назад
Родитель
Сommit
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, no_such_file} ->
error; error;
{error, not_valid} -> {error, not_valid} ->
Error = io_lib:format("Could not read the PLT file ~p", [Plt]),
throw({dialyzer_error, Error});
error;
{error, read_error} -> {error, read_error} ->
Error = io_lib:format("Could not read the PLT file ~p", [Plt]), Error = io_lib:format("Could not read the PLT file ~p", [Plt]),
throw({dialyzer_error, Error}) throw({dialyzer_error, Error})

Загрузка…
Отмена
Сохранить