Skip to content

Commit 1080744

Browse files
author
Rodrigo Navarro
committed
feature(root): Add print stdout
1 parent 3fea28a commit 1080744

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/utils.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,9 @@ func promptList() {
105105
func commit(message string) (err error) {
106106
cmdGit := exec.Command("git", "commit", "-m", message)
107107
lastCommit := "Last commit: " + message
108-
_, err = cmdGit.Output()
108+
output, err := cmdGit.Output()
109109
checkErr(err)
110+
fmt.Println(string(output))
110111
fmt.Println(Gray(lastCommit))
111112
fmt.Println(Green("Done"))
112113

0 commit comments

Comments
 (0)