Browse Source

return an error when an app file is missing

pull/133/head
nuex 10 years ago
parent
commit
79a1c285f0
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/rebar_app_utils.erl

+ 1
- 0
src/rebar_app_utils.erl View File

@ -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…
Cancel
Save