From 79a1c285f0d66e3379b48c6e65ead55345620be2 Mon Sep 17 00:00:00 2001 From: nuex Date: Sat, 7 Feb 2015 17:33:03 -0500 Subject: return an error when an app file is missing --- src/rebar_app_utils.erl | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.1