Skip to content

Commit

Permalink
fix 🐛: fixed error logging
Browse files Browse the repository at this point in the history
Signed-off-by: moualhi zine el abidine <[email protected]>
  • Loading branch information
muandane committed Aug 28, 2024
1 parent 9dc0f14 commit 6bb44cc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ var (
)

var rootCmd = &cobra.Command{
Use: "goji",
Short: "Goji CLI",
Long: `Goji is a CLI tool to generate conventional commits with emojis`,
SilenceUsage: true,
Use: "goji",
Short: "Goji CLI",
Long: `Goji is a CLI tool to generate conventional commits with emojis`,
SilenceUsage: true,
SilenceErrors: true,
RunE: func(cmd *cobra.Command, args []string) error {
if versionFlag {
color.Green("goji version: v%s", version)
Expand Down

0 comments on commit 6bb44cc

Please sign in to comment.