| commit | deea4898d1cec1c49a262f97409d8a3ba4486a20 | [log] [tgz] |
|---|---|---|
| author | Matt Farina <matt@mattfarina.com> | Fri Sep 30 13:57:55 2016 -0400 |
| committer | Matt Farina <matt@mattfarina.com> | Fri Sep 30 13:57:55 2016 -0400 |
| tree | 930abf6db4e819b699ddbc109338c3866641aa03 | |
| parent | a44acdae2b92446961d9775e78742c752fca7ce0 [diff] |
Updating the initialization of pkgs already seen
diff --git a/dependency/resolver.go b/dependency/resolver.go index 578f2b1..bf59c3e 100644 --- a/dependency/resolver.go +++ b/dependency/resolver.go
@@ -460,7 +460,7 @@ return []string{}, nil } - alreadySeen := map[string]bool{} + alreadySeen := make(map[string]bool, queue.Len()) for e := queue.Front(); e != nil; e = e.Next() { vdep := e.Value.(string)