diff options
Diffstat (limited to 'src/rebar_app_discover.erl')
-rw-r--r-- | src/rebar_app_discover.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_app_discover.erl b/src/rebar_app_discover.erl index 4f7442b..67acf54 100644 --- a/src/rebar_app_discover.erl +++ b/src/rebar_app_discover.erl @@ -229,7 +229,8 @@ try_handle_app_file(AppInfo0, [File], AppDir, AppSrcFile, _, Validate) -> [F] -> rebar_app_info:app_file_src(AppInfo1, F); [] -> - AppInfo1; + %% Set to undefined in case AppInfo previous had a .app.src + rebar_app_info:app_file_src(AppInfo1, undefined); Other when is_list(Other) -> throw({error, {multiple_app_files, Other}}) end, |