Преглед на файлове

An empty list on applications key should not be treated as missing

pull/2035/head
Justin Wood преди 6 години
родител
ревизия
cb881390dc
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      src/rebar_app_utils.erl

+ 2
- 2
src/rebar_app_utils.erl Целия файл

@ -123,8 +123,8 @@ lint_description(AppDetail, AppFile) ->
-spec lint_applications(list(), file:filename_all()) -> ok.
lint_applications(AppDetail, AppFile) ->
case proplists:get_value(applications, AppDetail, []) of
[] -> ?WARN("~p is missing applications entry", [AppFile]);
case proplists:get_value(applications, AppDetail) of
undefined -> ?WARN("~p is missing applications entry", [AppFile]);
AppList when is_list(AppList) ->
case lists:member(kernel, AppList) of
false ->

Зареждане…
Отказ
Запис