X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=main.go;h=0fb48d6819911eed9647a20611bf9c50580c61a1;hb=f46d3947c65ccecd738a83bdd168cd9149c63a3d;hp=8c95d84bd3ed76135ce08086ebb595498b8635e0;hpb=f1289f31868268ed25a2b0fd13d55fb2a239fd18;p=goredo.git diff --git a/main.go b/main.go index 8c95d84..0fb48d6 100644 --- a/main.go +++ b/main.go @@ -455,7 +455,7 @@ CmdSwitch: } deps := map[string]map[string]struct{}{} for _, tgt := range tgtsKnown { - collectDeps(Cwd, tgt, 0, deps, true) + collectDeps(Cwd, tgt, 0, deps, true, map[string]struct{}{}) } seen := map[string]struct{}{} for _, tgt := range tgts {