Browse Source

Fix support for `not_valid` dialyzer error

pull/1279/head
Guillaume Bour 9 years ago
parent
commit
ffe5e42521
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/rebar_prv_dialyzer.erl

+ 3
- 0
src/rebar_prv_dialyzer.erl View File

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

Loading…
Cancel
Save