Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Oct 9, 2024
1 parent 95bc933 commit ddd66bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/docsgen/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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("[")) {
Expand Down

0 comments on commit ddd66bb

Please sign in to comment.