From 5c77ad07b85d74c5220a3464d0802860a65dab4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andra=CC=81s=20Boroska?= Date: Thu, 13 Dec 2018 08:35:37 +0100 Subject: [PATCH] fix external (non-rebar3) project compile --- src/rebar_fetch.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_fetch.erl b/src/rebar_fetch.erl index 9c76e0eaa..25b7a58db 100644 --- a/src/rebar_fetch.erl +++ b/src/rebar_fetch.erl @@ -34,7 +34,7 @@ download_source(AppInfo, State) -> {true, AppInfo2} -> rebar_app_info:is_available(AppInfo2, true); false -> - throw(?PRV_ERROR({dep_app_not_found, rebar_app_info:name(AppInfo1)})) + rebar_app_info:is_available(AppInfo1, true) end; {error, Reason} -> throw(?PRV_ERROR(Reason))