Skip to content

Commit

Permalink
feature/list-formatters-in-help-command refactoring building the docu…
Browse files Browse the repository at this point in the history
…mentation string
  • Loading branch information
TomerPacific committed Oct 6, 2021
1 parent 93ae5e5 commit 3e9a62b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/formatter/helpers/formatters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ const Formatters = {
let concatanatedFormattersDocumentation: string = ''
const formatters = this.getFormatters()
for (const formatterName in formatters) {
concatanatedFormattersDocumentation +=
' ' +
formatterName +
': ' +
formatters[formatterName].documentation +
'\n'
concatanatedFormattersDocumentation += ` ${formatterName}: ${formatters[formatterName].documentation}\n`
}

return concatanatedFormattersDocumentation
Expand Down

0 comments on commit 3e9a62b

Please sign in to comment.