fix node 4 problem

master
Lucas Duailibe 2018-04-19 13:53:42 -03:00
parent a485da206c
commit f3cf50515d
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ function getMarkdownSyntax(options) {
function formatCLIOptions(cliOptions) {
return cliOptions
.map(option => {
const [name, value] = option;
const name = option[0];
const value = option[1];
return value === true ? name : `${name} ${value}`;
})
.join("\n");