summaryrefslogtreecommitdiff
path: root/src/rebar_app_utils.erl
diff options
context:
space:
mode:
authorJames Fish <james@fishcakez.com>2015-08-09 23:49:54 +0100
committerJames Fish <james@fishcakez.com>2015-08-09 23:49:54 +0100
commitfc6cc368c3e41b989c8cc9d079774d7ff80a51f6 (patch)
tree6ba8cf9b2b91dfb107d53dffd3b6944b4d2ffdba /src/rebar_app_utils.erl
parentecf6ad552444fa4e786bcd3959079033aff2ab7b (diff)
Fix some unknown functions/types dialyzer warnings
Diffstat (limited to 'src/rebar_app_utils.erl')
-rw-r--r--src/rebar_app_utils.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_app_utils.erl b/src/rebar_app_utils.erl
index 92c3ff8..e9745c3 100644
--- a/src/rebar_app_utils.erl
+++ b/src/rebar_app_utils.erl
@@ -94,7 +94,8 @@ format_error(Error) ->
%% Internal functions
%% ===================================================================
--spec has_all_beams(file:filename_all(), list()) -> true | providers:error().
+-spec has_all_beams(file:filename_all(), [module()]) ->
+ true | ?PRV_ERROR({missing_module, module()}).
has_all_beams(EbinDir, [Module | ModuleList]) ->
BeamFile = filename:join([EbinDir,
ec_cnv:to_list(Module) ++ ".beam"]),