From bf8d4b371dc642a50d88b251aa34c2f87ee4d1e2 Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Wed, 10 Feb 2016 09:19:13 -0800 Subject: [PATCH] fix(cmd): prevent cmd init functions from racing No running in the halls! --- cmd/helm/helm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/helm/helm.go b/cmd/helm/helm.go index 55b6c0ebb..693e192eb 100644 --- a/cmd/helm/helm.go +++ b/cmd/helm/helm.go @@ -13,7 +13,7 @@ var version = "0.0.1" var commands []cli.Command func init() { - commands = cmds() + addCommands(cmds()...) } func main() {