From df218397cdefec0a86134ba3ebae59aa2ed2c12c Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Tue, 16 Oct 2018 10:53:07 -0400 Subject: [PATCH] use lowercase for loglevel --- cmd/cmd.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/cmd.js b/cmd/cmd.js index bf56a92d..179b5d23 100644 --- a/cmd/cmd.js +++ b/cmd/cmd.js @@ -262,7 +262,7 @@ class Cmd { .option('-c , --coverage', __('generate a coverage report after running the tests (vm only)')) .option('--nobrowser', __('do not start browser after coverage report is generated')) .option('--locale [locale]', __('language to use (default: en)')) - .option('--logLevel [loglevel]', __('level of logging to display') + ' ["error", "warn", "info", "debug", "trace"]', /^(error|warn|info|debug|trace)$/i, 'warn') + .option('--loglevel [loglevel]', __('level of logging to display') + ' ["error", "warn", "info", "debug", "trace"]', /^(error|warn|info|debug|trace)$/i, 'warn') .option('--solc', __('run only solidity tests')) .description(__('run tests')) .action(function(file, options) { @@ -280,7 +280,7 @@ class Cmd { process.exit(1); } i18n.setOrDetectLocale(options.locale); - embark.runTests({file, solc:options.solc, logLevel: options.logLevel, gasDetails: options.gasDetails, + embark.runTests({file, solc:options.solc, logLevel: options.loglevel, gasDetails: options.gasDetails, node: options.node, coverage: options.coverage, noBrowser: options.nobrowser}); }); }