Skip to content

Commit

Permalink
fix(cli): fixing setup function for the docgen cmd (#2616)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoscar committed May 30, 2023
1 parent e02077a commit d55b683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cmd/docgen_cmd.go
Expand Up @@ -20,7 +20,7 @@ var docGenCmd = &cobra.Command{
Short: "Generate the CLI documentation",
Long: "Generate the CLI documentation",
Hidden: true,
PreRun: setupCommand(),
PreRun: setupLogger,
Run: func(cmd *cobra.Command, args []string) {
os.RemoveAll(docsOutputDir)
err := os.MkdirAll(docsOutputDir, os.ModePerm)
Expand Down

0 comments on commit d55b683

Please sign in to comment.