瀏覽代碼

Make error message more descriptive

pull/3/head
Tuncer Ayaz 13 年之前
父節點
當前提交
7bd8cbd8d9
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      src/rebar_core.erl

+ 3
- 1
src/rebar_core.erl 查看文件

@ -235,7 +235,9 @@ remember_cwd_subdir(Cwd, Subdirs) ->
?DEBUG("Associate sub_dir ~s with ~s~n", [Dir, Cwd]), ?DEBUG("Associate sub_dir ~s with ~s~n", [Dir, Cwd]),
dict:store(Dir, Cwd, Dict); dict:store(Dir, Cwd, Dict);
{ok, Existing} -> {ok, Existing} ->
?ABORT("sub_dir ~s already associated with ~s~n",
?ABORT("Internal consistency assertion failed.~n"
"sub_dir ~s already associated with ~s.~n"
"Duplicate sub_dirs or deps entries?",
[Dir, Existing]), [Dir, Existing]),
Dict Dict
end end

Loading…
取消
儲存