summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-09-26 14:09:42 -0500
committerTristan Sloughter <t@crashfast.com>2015-09-26 14:15:15 -0500
commit90a06efa4f00fb6efda19dbf1cbe3334e863a724 (patch)
tree8eb612d12cd71cf6f699748ebe6d5971de9e590b /src
parentdfa668f21102ef5ac4cc5c2384e91b8d256513b5 (diff)
add test to not upgrade unrelated transitive dep during upgrade
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_upgrade.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_upgrade.erl b/src/rebar_prv_upgrade.erl
index 476d62f..a2864ab 100644
--- a/src/rebar_prv_upgrade.erl
+++ b/src/rebar_prv_upgrade.erl
@@ -163,7 +163,7 @@ all_children(Name, Dict) ->
all_children_(Name, Dict) ->
case dict:find(ec_cnv:to_binary(Name), Dict) of
{ok, Children} ->
- Children ++ [all_children_(Child, Dict) || Child <- Children];
+ [Children | [all_children_(Child, Dict) || Child <- Children]];
error ->
[]
end.