Skip to content

Commit 88c786e

Browse files
committed
Fixed the conflict with the use-cdn and config flags.
Fix the shorthand config problem that we have conflicting with the markdown and the HTML report.
1 parent c6648f4 commit 88c786e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/html_report.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ func GetHTMLReportCommand() *cobra.Command {
279279
},
280280
}
281281
cmd.Flags().BoolP("no-color", "n", false, "Disable color and style output (very useful for CI/CD)")
282-
cmd.Flags().BoolP("use-cdn", "c", false, "Use CDN for CSS and JS delivery instead of bundling inline")
282+
cmd.Flags().Bool("use-cdn", false, "Use CDN for CSS and JS delivery instead of bundling inline")
283283
cmd.Flags().StringP("report-file", "", "report.html", "The name of the HTML report file (defaults to 'report.html')")
284284

285285
return cmd

cmd/markdown_report.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ func GetMarkdownReportCommand() *cobra.Command {
279279
},
280280
}
281281
cmd.Flags().BoolP("no-color", "n", false, "Disable color and style output (very useful for CI/CD)")
282-
cmd.Flags().BoolP("use-cdn", "c", false, "Use CDN for CSS and JS delivery instead of bundling inline")
282+
cmd.Flags().Bool("use-cdn", false, "Use CDN for CSS and JS delivery instead of bundling inline")
283283
cmd.Flags().StringP("report-file", "", "report.md", "The name of the Markdown report file (defaults to 'report.md')")
284284

285285
return cmd

0 commit comments

Comments
 (0)