add missing option

This commit is contained in:
Iuri Matias 2018-05-10 15:26:09 -04:00
parent 854fa0deb0
commit 2e324484d4

View File

@ -180,7 +180,7 @@ class Cmd {
.command('test [file]')
.option('--locale [locale]', __('language to use (default: en)'))
.description(__('run tests'))
.action(function (file) {
.action(function (file, options) {
i18n.setOrDetectLocale(options.locale);
embark.initConfig('development', {
embarkConfig: 'embark.json', interceptLogs: false