fix node 4 problem
This commit is contained in:
1 parent
a485da206c
commit
f3cf50515d
1 file changed
+2
-1
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user