Skip to content

Commit 6bb44cc

Browse files
committed
fix 🐛: fixed error logging
Signed-off-by: moualhi zine el abidine <zmoualhi@outlook.com>
1 parent 9dc0f14 commit 6bb44cc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cmd/root.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ var (
1919
)
2020

2121
var rootCmd = &cobra.Command{
22-
Use: "goji",
23-
Short: "Goji CLI",
24-
Long: `Goji is a CLI tool to generate conventional commits with emojis`,
25-
SilenceUsage: true,
22+
Use: "goji",
23+
Short: "Goji CLI",
24+
Long: `Goji is a CLI tool to generate conventional commits with emojis`,
25+
SilenceUsage: true,
26+
SilenceErrors: true,
2627
RunE: func(cmd *cobra.Command, args []string) error {
2728
if versionFlag {
2829
color.Green("goji version: v%s", version)

0 commit comments

Comments
 (0)