From 870f8cfbb44ef99001cd11dae680d019cedce2fc Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Mon, 6 Aug 2012 18:52:33 +0200 Subject: [PATCH] rebar_utils: clean up specs --- src/rebar_utils.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index 4d52dff..20cef8a 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -302,7 +302,7 @@ erl_opts(Config) -> [debug_info|Opts] end. --spec src_dirs(SrcDirs::[string()]) -> [file:filename(), ...]. +-spec src_dirs([string()]) -> [file:filename(), ...]. src_dirs([]) -> ["src"]; src_dirs(SrcDirs) -> @@ -497,7 +497,6 @@ vcs_vsn_invoke(Cmd, Dir) -> %% Filter a list of erl_opts platform_define options such that only %% those which match the provided architecture regex are returned. %% --spec filter_defines(ErlOpts::list(), Acc::list()) -> list(). filter_defines([], Acc) -> lists:reverse(Acc); filter_defines([{platform_define, ArchRegex, Key} | Rest], Acc) ->