aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_dscv_util.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2013-09-14 21:39:51 -0500
committerTristan Sloughter <[email protected]>2013-09-16 11:12:22 -0500
commite176e1ec394f5ab44a184831238aa49bc9e0cf2b (patch)
treea89f1599f364b47f50847cffddbf777ff46fcdf9 /src/rlx_dscv_util.erl
parentd72e2cda09df280e1e690d9233790ebbb9e58812 (diff)
downloadrelx-e176e1ec394f5ab44a184831238aa49bc9e0cf2b.tar.gz
relx-e176e1ec394f5ab44a184831238aa49bc9e0cf2b.tar.bz2
relx-e176e1ec394f5ab44a184831238aa49bc9e0cf2b.zip
fix dialyzer issues
Diffstat (limited to 'src/rlx_dscv_util.erl')
-rw-r--r--src/rlx_dscv_util.erl4
1 files changed, 2 insertions, 2 deletions
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) ->