summaryrefslogtreecommitdiff
path: root/src/rebar_utils.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_utils.erl')
-rw-r--r--src/rebar_utils.erl3
1 files changed, 1 insertions, 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) ->