瀏覽代碼

return an error when an app file is missing

pull/133/head
nuex 10 年之前
父節點
當前提交
79a1c285f0
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      src/rebar_app_utils.erl

+ 1
- 0
src/rebar_app_utils.erl 查看文件

@ -127,6 +127,7 @@ app_vsn(Config, AppFile) ->
%% Internal functions
%% ===================================================================
load_app_file(_State, undefined) -> {error, missing_app_file};
load_app_file(State, Filename) ->
AppFile = {app_file, Filename},
case rebar_state:get(State, {appfile, AppFile}, undefined) of

Loading…
取消
儲存