mirror of https://git.tuxpa.in/a/code-server.git
Remove unused code in optionDescriptions
This commit is contained in:
parent
579bb94a6c
commit
c7c62daa67
|
@ -175,7 +175,7 @@ export const optionDescriptions = (): string[] => {
|
||||||
([k, v]) =>
|
([k, v]) =>
|
||||||
`${" ".repeat(widths.short - (v.short ? v.short.length : 0))}${v.short ? `-${v.short}` : " "} --${k}${" ".repeat(
|
`${" ".repeat(widths.short - (v.short ? v.short.length : 0))}${v.short ? `-${v.short}` : " "} --${k}${" ".repeat(
|
||||||
widths.long - k.length,
|
widths.long - k.length,
|
||||||
)} ${v.description}${typeof v.type === "object" ? ` [${Object.values(v.type).join(", ")}]` : ""}`,
|
)} ${v.description}`,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue