From 4951ad4cc1be87c55a68bfb9d66112eee21ad59d Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 3 Dec 2013 03:03:21 -0500 Subject: [PATCH] Bug fixed --- cmd/get.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/get.go b/cmd/get.go index d682e008b..a53d079c8 100644 --- a/cmd/get.go +++ b/cmd/get.go @@ -80,6 +80,8 @@ func runGet(ctx *cli.Context) { installRepoPath = doc.HomeDir + "/repos" log.Log("Local repository path: %s", installRepoPath) + doc.LoadLocalNodes() + // Check number of arguments. switch len(ctx.Args()) { case 0: @@ -168,7 +170,6 @@ func getByPath(ctx *cli.Context) { nodes = append(nodes, node) } - doc.LoadLocalNodes() downloadPackages(ctx, nodes) if doc.LocalNodes != nil {