From 1080744b9bf8960c57922a17399a003e3c53cce6 Mon Sep 17 00:00:00 2001 From: Rodrigo Navarro Date: Fri, 4 Jan 2019 13:48:54 -0300 Subject: [PATCH] feature(root): Add print stdout --- cmd/utils.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/utils.go b/cmd/utils.go index ad074a1..af72e04 100644 --- a/cmd/utils.go +++ b/cmd/utils.go @@ -105,8 +105,9 @@ func promptList() { func commit(message string) (err error) { cmdGit := exec.Command("git", "commit", "-m", message) lastCommit := "Last commit: " + message - _, err = cmdGit.Output() + output, err := cmdGit.Output() checkErr(err) + fmt.Println(string(output)) fmt.Println(Gray(lastCommit)) fmt.Println(Green("Done"))