Commit 4a5cf501 authored by Adam Reese's avatar Adam Reese

Merge pull request #17 from adamreese/fix/cmd-init

fix(cmd): prevent cmd init functions from racing
parents a2e928ad bf8d4b37
......@@ -13,7 +13,7 @@ var version = "0.0.1"
var commands []cli.Command
func init() {
commands = cmds()
addCommands(cmds()...)
}
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