瀏覽代碼

fix case clause when is_supported is not in process dictionary

pull/1994/head
Mikael Lixenstrand 6 年之前
父節點
當前提交
e0595666a3
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -2
      src/rebar_hg_resource.erl

+ 1
- 2
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.

Loading…
取消
儲存