From 8cf1f350592dfa32b1d3a6ddd0ed952ceb5bf50d Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Mon, 8 Feb 2016 22:59:49 -0800 Subject: [PATCH] chore(*): remove global debug variable --- cmd/helm/helm.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmd/helm/helm.go b/cmd/helm/helm.go index aeb04e51f..b84d03fbc 100644 --- a/cmd/helm/helm.go +++ b/cmd/helm/helm.go @@ -8,7 +8,6 @@ import ( ) var version = "0.0.1" -var isDebugging bool func main() { app := cli.NewApp() @@ -30,12 +29,6 @@ func main() { Usage: "Enable verbose debugging output", }, } - - app.Before = func(ctx *cli.Context) error { - isDebugging = ctx.Bool("debug") - return nil - } - app.Run(os.Args) }