diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/eos-application-manifest/commands/help.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/eos-application-manifest/commands/help.js b/tools/eos-application-manifest/commands/help.js index d991b85..d26b95c 100644 --- a/tools/eos-application-manifest/commands/help.js +++ b/tools/eos-application-manifest/commands/help.js @@ -19,8 +19,8 @@ function execute(args) { return; print('Summaries of commands:'); let maxWidth = commandsList.reduce(function (prev, curr) { - return Math.max(curr.length, prev.length); - }); + return Math.max(curr.length, prev); + }, 0); commandsList.forEach(function (commandName) { let command = imports[commandName]; let summary; |