From e176e1ec394f5ab44a184831238aa49bc9e0cf2b Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 14 Sep 2013 21:39:51 -0500 Subject: fix dialyzer issues --- src/rlx_dscv_util.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rlx_dscv_util.erl') diff --git a/src/rlx_dscv_util.erl b/src/rlx_dscv_util.erl index 3d90b08..779534c 100644 --- a/src/rlx_dscv_util.erl +++ b/src/rlx_dscv_util.erl @@ -33,7 +33,7 @@ %% Types %%============================================================================ --type process_fun(Result) :: fun((filename:name(), file | directory) -> +-type process_fun(Result) :: fun((file:name(), file | directory) -> {ok, Result} | {error, term()} | {ok, Result, Recurse::boolean()} | @@ -46,7 +46,7 @@ %% @doc recursively dig down into the library directories specified in the state %% looking for OTP Applications --spec do(process_fun([term()] | term()), [filename:name()]) -> +-spec do(process_fun([term()] | term()), [file:name()]) -> [term() | {error, term()}]. do(ProcessDir, LibDirs) -> lists:flatten(ec_plists:map(fun(LibDir) -> -- cgit v1.2.3