diff --git a/cmd/cmd.js b/cmd/cmd.js index 2baee490..97a3ff66 100644 --- a/cmd/cmd.js +++ b/cmd/cmd.js @@ -107,10 +107,6 @@ class Cmd { _options.logLevel = _options.loglevel; // fix casing _options.onlyCompile = _options.contracts; _options.client = _options.client || 'geth'; - embark.initConfig(env || 'development', { - embarkConfig: 'embark.json', - interceptLogs: false - }); embark.build(_options); }); } @@ -130,10 +126,6 @@ class Cmd { .description(__('run dapp (default: %s)', 'development')) .action(function (env, options) { i18n.setOrDetectLocale(options.locale); - embark.initConfig(env || 'development', { - embarkConfig: 'embark.json', - interceptLogs: false - }); embark.run({ env: env || 'development', serverPort: options.port, @@ -245,10 +237,6 @@ class Cmd { _options.logFile = _options.logfile; // fix casing _options.logLevel = _options.loglevel; // fix casing _options.client = _options.client || 'geth'; - embark.initConfig(env || 'development', { - embarkConfig: 'embark.json', - interceptLogs: false - }); embark.upload(_options); }); } @@ -263,10 +251,6 @@ class Cmd { .description(__('generates documentation based on the smart contracts configured')) .action(function (env, options) { i18n.setOrDetectLocale(options.locale); - embark.initConfig(env || 'development', { - embarkConfig: 'embark.json', - interceptLogs: false - }); embark.graph({ env: env || 'development', logFile: options.logfile,