Skip to content

Commit c66dbfa

Browse files
Update cmd/cmd_utils.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 8738804 commit c66dbfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/cmd_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,5 +670,5 @@ func showUsageExample(cmd *cobra.Command, details string) {
670670
suggestion = exampleContent.Suggestion
671671
details += "\n## Usage Examples:\n" + exampleContent.Content
672672
}
673-
u.PrintErrorMarkdownAndExit("Incorrect Usage", fmt.Errorf(details), suggestion)
673+
u.PrintErrorMarkdownAndExit("Incorrect Usage", errors.New(details), suggestion)
674674
}

0 commit comments

Comments
 (0)