Browse Source

fix case clause when is_supported is not in process dictionary

pull/1994/head
Mikael Lixenstrand 6 years ago
parent
commit
e0595666a3
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/rebar_hg_resource.erl

+ 1
- 2
src/rebar_hg_resource.erl View File

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

Loading…
Cancel
Save