diff --git a/v2/internal/runner/options.go b/v2/internal/runner/options.go index b0c61e4e1d..ebbe3e66d4 100644 --- a/v2/internal/runner/options.go +++ b/v2/internal/runner/options.go @@ -412,7 +412,7 @@ func readEnvInputVars(options *types.Options) { options.MarkdownExportSortMode = strings.ToLower(os.Getenv("MARKDOWN_EXPORT_SORT_MODE")) // If the user has not specified a valid sort mode, use the default if options.MarkdownExportSortMode != "template" && options.MarkdownExportSortMode != "severity" && options.MarkdownExportSortMode != "host" { - options.MarkdownExportSortMode = "none" + options.MarkdownExportSortMode = "" } }