浏览代码

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).

正在加载...
取消
保存