diff options
author | Takeru Ohta <phjgt308@gmail.com> | 2015-09-12 15:24:50 +0900 |
---|---|---|
committer | Takeru Ohta <phjgt308@gmail.com> | 2015-09-12 15:24:50 +0900 |
commit | 4891912790c9c3bdae450bf95e0155231210e416 (patch) | |
tree | 0c3aecfad22c41e47e867841626a8f84d3cd4412 /src | |
parent | 902dd59d23335c35300b4e5520f128648f501a9f (diff) |
Fix error handlings for unknown applications
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_dialyzer.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl index 68cc63a..2a20707 100644 --- a/src/rebar_prv_dialyzer.erl +++ b/src/rebar_prv_dialyzer.erl @@ -465,11 +465,11 @@ collect_nested_dependent_apps(App, Seen) -> Seen1 = sets:add_element(App, Seen), case code:lib_dir(App) of {error, _} -> - Seen1; + throw({unknown_application, App}); AppDir -> case rebar_app_discover:find_app(AppDir, all) of false -> - Seen1; + throw({unknown_application, App}); {true, AppInfo} -> lists:foldl(fun collect_nested_dependent_apps/2, Seen1, |