Skip to content

Commit c7c62da

Browse files
committed
Remove unused code in optionDescriptions
1 parent 579bb94 commit c7c62da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export const optionDescriptions = (): string[] => {
175175
([k, v]) =>
176176
`${" ".repeat(widths.short - (v.short ? v.short.length : 0))}${v.short ? `-${v.short}` : " "} --${k}${" ".repeat(
177177
widths.long - k.length,
178-
)} ${v.description}${typeof v.type === "object" ? ` [${Object.values(v.type).join(", ")}]` : ""}`,
178+
)} ${v.description}`,
179179
)
180180
}
181181

0 commit comments

Comments
 (0)