From e0595666a347be5288c9f873a37bcdaf58a05310 Mon Sep 17 00:00:00 2001 From: Mikael Lixenstrand Date: Fri, 11 Jan 2019 13:10:03 +0100 Subject: fix case clause when is_supported is not in process dictionary --- src/rebar_hg_resource.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/rebar_hg_resource.erl') diff --git a/src/rebar_hg_resource.erl b/src/rebar_hg_resource.erl index 763803c..5ae1ee0 100644 --- a/src/rebar_hg_resource.erl +++ b/src/rebar_hg_resource.erl @@ -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. - -- cgit v1.1