From da6956695d9c9286f0ff5201c321e3f099060327 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Mon, 9 Jul 2018 15:20:47 -0400 Subject: [PATCH] set isDev as default if there is no blockchain file --- cmd/cmd.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/cmd.js b/cmd/cmd.js index 8f0bab81..f9d987e8 100644 --- a/cmd/cmd.js +++ b/cmd/cmd.js @@ -313,6 +313,10 @@ 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,