浏览代码

also ignore 'default' for profile warnings

pull/2368/head
Fred Hebert 4 年前
父节点
当前提交
7eb983b822
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      src/rebar_prv_as.erl

+ 2
- 1
src/rebar_prv_as.erl 查看文件

@ -104,4 +104,5 @@ warn_on_empty_profile(Profiles, State) ->
[?WARN("No entry for profile ~ts in config.", [Profile])
|| Profile <- Profiles,
not lists:keymember(list_to_atom(Profile), 1, DefinedProfiles),
Profile =/= "global"].
Profile =/= "global", Profile =/= "default"],
ok.

正在加载...
取消
保存