Commit bf8d4b37 authored by Adam Reese's avatar Adam Reese

fix(cmd): prevent cmd init functions from racing

No running in the halls!
parent a2e928ad
...@@ -13,7 +13,7 @@ var version = "0.0.1" ...@@ -13,7 +13,7 @@ var version = "0.0.1"
var commands []cli.Command var commands []cli.Command
func init() { func init() {
commands = cmds() addCommands(cmds()...)
} }
func main() { func main() {
......
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