fix node 4 problem

This commit is contained in:
Lucas Duailibe committed 2018-04-19 13:55:58 -03:00
1 parent a485da206c
commit f3cf50515d
1 file changed
+2 -1
+2 -1
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");