set isDev as default if there is no blockchain file
This commit is contained in:
parent
26b58cc91f
commit
da6956695d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue