diff options
-rw-r--r-- | src/rebar_config.erl | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/rebar_config.erl b/src/rebar_config.erl index 5cf15ef..199461c 100644 --- a/src/rebar_config.erl +++ b/src/rebar_config.erl @@ -60,12 +60,9 @@ new(Dir) -> get_modules(Config, app) -> - case orddict:find(app_modules, Config#config.opts) of - error -> - []; - {ok, Modules} -> - Modules - end. + get_list(Config, app_modules, []); +get_modules(Config, rel) -> + get_list(Config, rel_modules, []). get_list(Config, Key, Default) -> case orddict:find(Key, Config#config.opts) of |