Sfoglia il codice sorgente

fix case clause when is_supported is not in process dictionary

pull/1994/head
Mikael Lixenstrand 6 anni fa
parent
commit
e0595666a3
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. +1
    -2
      src/rebar_hg_resource.erl

+ 1
- 2
src/rebar_hg_resource.erl Vedi File

@ -200,7 +200,7 @@ check_type_support() ->
case get({is_supported, ?MODULE}) of
true ->
ok;
false ->
_ ->
case rebar_utils:sh("hg --version", [{return_on_error, true},
{use_stdout, false}]) of
{error, _} ->
@ -210,4 +210,3 @@ check_type_support() ->
ok
end
end.

Caricamento…
Annulla
Salva