Remove bang

Co-Authored-By: Josh Abernathy <joshaber@gmail.com>
This commit is contained in:
Corey Johnson 2019-11-20 15:59:45 -08:00
parent 5a3a2cf95e
commit 7a17f9506a

View file

@ -9,10 +9,8 @@ import (
)
func main() {
handleUpdate := make(chan func())
go command.CheckForUpdate(handleUpdate)
fmt.Printf("🌭 %+v\n", "bang")
printUpdateMessage := make(chan func())
go command.CheckForUpdate(printUpdateMessage)
if cmd, err := command.RootCmd.ExecuteC(); err != nil {
fmt.Fprintln(os.Stderr, err)
@ -23,5 +21,5 @@ func main() {
os.Exit(1)
}
(<-handleUpdate)()
(<-printUpdateMessage)()
}