浏览代码

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

正在加载...
取消
保存