Commit 8cf1f350 authored by Adam Reese's avatar Adam Reese

chore(*): remove global debug variable

parent 927c084f
...@@ -8,7 +8,6 @@ import ( ...@@ -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() { ...@@ -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)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment