summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Thompson <andrew@hijacked.us>2014-03-26 12:27:35 -0400
committerAndrew Thompson <andrew@hijacked.us>2014-03-26 12:27:35 -0400
commitf23af3ac507ac51a0c67b0a1377dd0e74909526d (patch)
tree39fb2f82d4b4c9e4c31f1d707fe0cabca1859dc4
parent780b85c11ed3a06d7cdbfea6242be099840c789e (diff)
downloadrebar-adt-update-deps-hooks.tar.gz
-rw-r--r--src/rebar_deps.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_deps.erl b/src/rebar_deps.erl
index b774d2f..daa7471 100644
--- a/src/rebar_deps.erl
+++ b/src/rebar_deps.erl
@@ -53,7 +53,7 @@
%% Public API
%% ===================================================================
-preprocess(Config, AppFile) ->
+preprocess(Config, _) ->
%% Side effect to set deps_dir globally for all dependencies from
%% top level down. Means the root deps_dir is honoured or the default
%% used globally since it will be set on the first time through here
@@ -196,7 +196,7 @@ do_check_deps(Config) ->
%% the necessary transitivity of the deps
{ok, save_dep_dirs(Config2, lists:reverse(PulledDeps))}.
-'update-deps'(Config, AppFile) ->
+'update-deps'(Config, _) ->
SubDirs = collect_subdirs(rebar_utils:get_cwd(), Config),
{UpdatedDeps, DepOwners} = lists:foldl(fun(Dir, {UpdatedDepsAcc, DepOwnersAcc}) ->