chore(*): remove global debug variable

pull/291/head
Adam Reese 10 years ago
parent 927c084f63
commit 8cf1f35059

@ -8,7 +8,6 @@ import (
) )
var version = "0.0.1" var version = "0.0.1"
var isDebugging bool
func main() { func main() {
app := cli.NewApp() app := cli.NewApp()
@ -30,12 +29,6 @@ func main() {
Usage: "Enable verbose debugging output", Usage: "Enable verbose debugging output",
}, },
} }
app.Before = func(ctx *cli.Context) error {
isDebugging = ctx.Bool("debug")
return nil
}
app.Run(os.Args) app.Run(os.Args)
} }

Loading…
Cancel
Save