Переглянути джерело

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]),
dict:store(Dir, Cwd, Dict);
{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]),
Dict
end

Завантаження…
Відмінити
Зберегти