mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-18 16:46:38 +00:00
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'))
|
.description(__('generates documentation based on the smart contracts configured'))
|
||||||
.action(function(env, options) {
|
.action(function(env, options) {
|
||||||
i18n.setOrDetectLocale(options.locale);
|
i18n.setOrDetectLocale(options.locale);
|
||||||
|
embark.initConfig(env || 'development', {
|
||||||
|
embarkConfig: 'embark.json',
|
||||||
|
interceptLogs: false
|
||||||
|
});
|
||||||
embark.graph({
|
embark.graph({
|
||||||
env: env || 'development',
|
env: env || 'development',
|
||||||
logFile: options.logfile,
|
logFile: options.logfile,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user