diff --git a/packages/cli/docsgen/markdown.ts b/packages/cli/docsgen/markdown.ts index df9fb419cf1..9c7a4d0ca27 100644 --- a/packages/cli/docsgen/markdown.ts +++ b/packages/cli/docsgen/markdown.ts @@ -117,7 +117,7 @@ function renderOption(optionName: string, option: CliOptionDefinition): string | defaultValue = `"${defaultValue}"`; } if (option.type === "array") { - if (!defaultValue.includes(`"`)) { + if (!defaultValue.includes(`"`)) { defaultValue = `"${defaultValue}"`; } if (!defaultValue.startsWith("[")) {