瀏覽代碼

add warning if user is running with erts-6.1

pull/3/head
Tristan Sloughter 10 年之前
父節點
當前提交
deca5d9edb
共有 1 個檔案被更改,包括 8 行新增0 行删除
  1. +8
    -0
      src/rebar3.erl

+ 8
- 0
src/rebar3.erl 查看文件

@ -84,6 +84,14 @@ run(BaseState, Command) ->
run(RawArgs) ->
ok = load_rebar_app(),
BaseConfig = init_config(),
case erlang:system_info(version) of
"6.1" ->
?WARN("Due to a filelib bug in Erlang 17.1 it is recommended you update to a newer release.~n", []);
_ ->
ok
end,
{BaseConfig1, _Args1} = set_options(BaseConfig, {[], []}),
run_aux(BaseConfig1, RawArgs).

Loading…
取消
儲存