use lowercase for loglevel
This commit is contained in:
parent
0ef879d6a6
commit
df218397cd
|
@ -262,7 +262,7 @@ class Cmd {
|
||||||
.option('-c , --coverage', __('generate a coverage report after running the tests (vm only)'))
|
.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('--nobrowser', __('do not start browser after coverage report is generated'))
|
||||||
.option('--locale [locale]', __('language to use (default: en)'))
|
.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'))
|
.option('--solc', __('run only solidity tests'))
|
||||||
.description(__('run tests'))
|
.description(__('run tests'))
|
||||||
.action(function(file, options) {
|
.action(function(file, options) {
|
||||||
|
@ -280,7 +280,7 @@ class Cmd {
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
i18n.setOrDetectLocale(options.locale);
|
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});
|
node: options.node, coverage: options.coverage, noBrowser: options.nobrowser});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue