瀏覽代碼

Correct sub_dirs loop log message

pull/3/head
Tuncer Ayaz 14 年之前
父節點
當前提交
cc2447f1b1
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      src/rebar_subdirs.erl

+ 2
- 2
src/rebar_subdirs.erl 查看文件

@ -59,10 +59,10 @@ check_loop(Cwd) ->
end, end,
case IsSymlink of case IsSymlink of
{false, Dir="."} -> {false, Dir="."} ->
?ERROR("endless loop detected:~nsub_dirs"
?ERROR("infinite loop detected:~nsub_dirs"
" entry ~p in ~s~n", [Dir, RebarConfig]); " entry ~p in ~s~n", [Dir, RebarConfig]);
{true, Cwd} -> {true, Cwd} ->
?ERROR("endless loop detected:~nsub_dirs"
?ERROR("infinite loop detected:~nsub_dirs"
" entry ~p in ~s is a symlink to \".\"~n", " entry ~p in ~s is a symlink to \".\"~n",
[Dir0, RebarConfig]); [Dir0, RebarConfig]);
_ -> _ ->

Loading…
取消
儲存