Skip to content

Commit

Permalink
feature(root): Add print stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Navarro committed Jan 4, 2019
1 parent 3fea28a commit 1080744
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Expand Down

0 comments on commit 1080744

Please sign in to comment.