diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2019-01-11 15:32:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-11 15:32:31 -0500 |
commit | cd8493f6cda1628108a58c578d9f100910b814d4 (patch) | |
tree | 68ae4fda4b823d26e78542136b08868567049344 | |
parent | e96c99ebe65cfadb1ae442517ae441dd2ccc62fc (diff) | |
parent | e0595666a347be5288c9f873a37bcdaf58a05310 (diff) |
Merge pull request #1994 from lixen/master
fix case clause when fetching hg dep
-rw-r--r-- | src/rebar_hg_resource.erl | 3 |
1 files changed, 1 insertions, 2 deletions
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. - |