diff options
author | nuex <nx@nu-ex.com> | 2015-02-07 17:33:03 -0500 |
---|---|---|
committer | nuex <nx@nu-ex.com> | 2015-02-07 17:33:03 -0500 |
commit | 79a1c285f0d66e3379b48c6e65ead55345620be2 (patch) | |
tree | 289835cb5ab5b823bee06e7b639dfa726bf5e4ed /src | |
parent | 038d721f90952f0eabda6b4e5333a0ec35a255dd (diff) |
return an error when an app file is missing
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_app_utils.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_app_utils.erl b/src/rebar_app_utils.erl index dac3f0f..f991e4e 100644 --- a/src/rebar_app_utils.erl +++ b/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 |