소스 검색

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})

불러오는 중...
취소
저장